doc/documentation/manual-pages/ja/man3/curs_overlay.3
Sergio Carlavilla Delgado 989d921f5d Migrate doc to Hugo/AsciiDoctor
I'm very pleased to announce the release of
our new website and documentation using
the new toolchain with Hugo and AsciiDoctor.

To get more information about the new toolchain
please read the FreeBSD Documentation Project Primer[1],
Hugo docs[2] and AsciiDoctor docs[3].

Acknowledgment:
Benedict Reuschling <bcr@>
Glen Barber <gjb@>
Hiroki Sato <hrs@>
Li-Wen Hsu <lwhsu@>
Sean Chittenden <seanc@>
The FreeBSD Foundation

[1] https://docs.FreeBSD.org/en/books/fdp-primer/
[2] https://gohugo.io/documentation/
[3] https://docs.asciidoctor.org/home/

Approved by:    doceng, core
2021-01-26 00:31:29 +01:00

81 lines
1.7 KiB
Groff

.\" $FreeBSD$
.TH curs_overlay 3 ""
.SH 名称
\fBoverlay\fR, \fBoverwrite\fR,
\fBcopywin\fR - overlay and manipulate overlapped \fBncurses\fR windows
.SH 書式
\fB#include <ncurses.h>\fR
\fBint overlay(WINDOW *srcwin, WINDOW *dstwin);\fR
.br
\fBint overwrite(WINDOW *srcwin, WINDOW *dstwin);\fR
.br
\fBint copywin(WINDOW *srcwin, WINDOW *dstwin, int sminrow,
int smincol, int dminrow, int dmincol, int dmaxrow,
int dmaxcol, int overlay);\fR
.SH 解説
\fBoverlay\fR
ルーチンと
\fBoverwrite\fR
ルーチンは、
\fIdstwin\fR
の一番上に
\fIsrcwin\fR
オーバレイします。
\fIscrwin\fR
\fIdstwin\fR
は同じサイズであることを要求されません。
2
つのウィンドウがオーバラップするテキストだけがコピー
されます。相違点は
\fBoverlay\fR
が破壊的でない
(
ブランクはコピーされません
)
のに対し、
\fBoverwrite\fR
は破壊的であるという点です。
\fBcopywin\fR
ルーチンには、
\fBoverlay\fR
ルーチンと
\fBoverwrite\fR
ルーチンより繊細で細かい制御が備わっています。
\fBprefresh\fR
ルーチンと同じように、宛先ウィンドウの長方形
(\fIdminrow\fR, \fIdmincol\fR)
(\fIdmaxrow\fR, \fIdmaxcol\fR)
、およびソースウィンドウの左上
コーナーの座標
(\fIsminrow\fR, \fIsmincol\fR)
が指定されます。引数
\fIoverlay\fR
\fBtrue\fR
の場合、
\fBoverlay\fR
と同じようにコピーは破壊的ではありません。
.SH 戻り値
整数を返すルーチンは、処理失敗すると
\fBERR\fR
を返してきます。処理が正常に完了した場合は、
\fBERR\fR
以外の整数値を返します。
.SH 注釈
\fBoverlay\fR
\fBoverwrite\fR
はマクロである可能性があることに注意してください。
.SH 関連項目
\fBncurses\fR(3), \fBcurs_pad\fR(3), \fBcurs_refresh\fR(3)
.\"#
.\"# The following sets edit modes for GNU EMACS
.\"# Local Variables:
.\"# mode:nroff
.\"# fill-column:79
.\"# End: