doc/documentation/manual-pages/ja/man3/curs_bkgd.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

46 lines
1.6 KiB
Groff

.\" $FreeBSD$
,\"
.TH curs_bkgd 3 ""
.SH 名称
\fBbkgdset\fR, \fBwbkgdset\fR, \fBbkgd\fR,
\fBwbkgd\fR - \fBncurses\fR ウィンドウ背景操作ルーチン
.SH 書式
\fB#include <ncurses.h>\fR
\fBvoid bkgdset(chtype ch);\fR
.br
\fBvoid wbkgdset(WINDOW *win, chtype ch);\fR
.br
\fBint bkgd(chtype ch);\fR
.br
\fBint wbkgd(WINDOW *win, chtype ch);\fR
.br
.SH 解説
\fBbkgdset\fR ルーチンと \fBwbkgdset\fR ルーチンは、
名前付きウィンドウの背景を操作します。
背景は、属性と 1 つの文字の組み合わせで構成される \fBchtype\fR です。
背景の属性部分はすべてブランクでない文字と結合 (OR) されたものです。
ブランクでない文字は、\fBwaddch\fR でウィンドウに書き込まれます。
背景の文字部分と属性部分の両方がブランクの文字と結合されます。
背景は文字のプロパティになり、
スクロールおよび行 / 文字の挿入 / 削除によって
文字とともに移動します。
特定の端末で可能な範囲で、背景の属性部分は、
画面に設定された文字のグラフィックな解釈として表示されます。
\fBbkgd\fR ルーチンと \fBwbkgd\fR ルーチンは、
新しい背景とウィンドウ内の各位置と組み合わせられます。
背景は属性と 1 文字の組み合わせです。
属性部分だけがブランクでない文字の背景を設定するのに使用されるのに対し、
文字と属性の両方がブランクの位置に使用されます。
特定の端末上で可能な範囲で、背景の属性部分は、
画面に設定された文字のグラフィックな解釈として表示されます。
.SH 戻り値
\fBbkgd\fR\fBwbkgd\fR は整数 \fBOK\fR を返します。
または、\fBimmedok\fR が設定されている場合は負でない整数を返します。
.SH 注釈
\fBbkgdset\fR\fBbkgd\fR はマクロである可能性があります。
.SH バグ
\fBimmedok\fR は ncurses 1.8.6 ではまだ実現されていません。
.SH 関連項目
\fBncurses\fR(3), \fBcurs_addch\fR(3), \fBcurs_outopts\fR(3)