X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_bkgrnd.3x;h=e64f9941894a365dd24dec685ff0e7f06477312f;hb=6cd4a712ad4ac58bf801e5dc66648338d2aa294e;hp=d5933cb5bb8d158512f06fc6e54cf9ad5d6e39d3;hpb=74433bcf4f6fe40862a28f3c00edaedcd5054b01;p=ncurses.git diff --git a/man/curs_bkgrnd.3x b/man/curs_bkgrnd.3x index d5933cb5..e64f9941 100644 --- a/man/curs_bkgrnd.3x +++ b/man/curs_bkgrnd.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright 2018-2020,2021 Thomas E. Dickey * +.\" Copyright 2018-2021,2022 Thomas E. Dickey * .\" Copyright 2002-2015,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_bkgrnd.3x,v 1.14 2021/12/25 21:41:58 tom Exp $ +.\" $Id: curs_bkgrnd.3x,v 1.16 2022/06/25 21:57:59 tom Exp $ .de bP .ie n .IP \(bu 4 .el .IP \(bu 2 @@ -44,17 +44,17 @@ .PP .B #include .sp -\fBint bkgrnd(\fP\fB const cchar_t *\fP\fIwch\fP\fB);\fP +\fBint bkgrnd(\fB const cchar_t *\fIwch\fB);\fR .br -\fBint wbkgrnd(\fP\fB WINDOW *\fP\fIwin\fP\fB, const cchar_t *\fP\fIwch\fP\fB);\fP +\fBint wbkgrnd(\fB WINDOW *\fIwin\fB, const cchar_t *\fIwch\fB);\fR .sp -\fBvoid bkgrndset(const cchar_t *\fP\fIwch\fP \fB);\fP +\fBvoid bkgrndset(const cchar_t *\fIwch\fR \fB);\fR .br -\fBvoid wbkgrndset(WINDOW *\fP\fIwin\fP\fB, const cchar_t *\fP\fIwch\fP\fB);\fP +\fBvoid wbkgrndset(WINDOW *\fIwin\fB, const cchar_t *\fIwch\fB);\fR .sp -\fBint getbkgrnd(cchar_t *\fP\fIwch\fP\fB);\fP +\fBint getbkgrnd(cchar_t *\fIwch\fB);\fR .br -\fBint wgetbkgrnd(WINDOW *\fP\fIwin\fP\fB, cchar_t *\fP\fIwch\fP\fB);\fP +\fBint wgetbkgrnd(WINDOW *\fIwin\fB, cchar_t *\fIwch\fB);\fR .br .SH DESCRIPTION .SS bkgrndset @@ -63,11 +63,14 @@ The \fBbkgrndset\fP and \fBwbkgrndset\fP routines manipulate the background of the named window. The window background is a \fBcchar_t\fP consisting of any combination of attributes (i.e., rendition) and a complex character. +.bP The attribute part of the background is combined (OR'ed) with all non-blank characters that are written into the window with \fBwaddch\fP. +.bP Both the character and attribute parts of the background are combined with the blank characters. +.PP The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operations.