1curs_bkgrnd(3X)                                                curs_bkgrnd(3X)
2
3
4

NAME

6       bkgrnd,  wbkgrnd, bkgrndset, wbkgrndset, getbkgrnd, wgetbkgrnd - curses
7       window complex background manipulation routines
8

SYNOPSIS

10       #include <curses.h>
11
12       int bkgrnd( const cchar_t *wch);
13       int wbkgrnd( WINDOW *win, const cchar_t *wch);
14       void bkgrndset(const cchar_t *wch );
15       void wbkgrndset(WINDOW *win, const cchar_t *wch);
16       int getbkgrnd(cchar_t *wch);
17       int wgetbkgrnd(WINDOW *win, cchar_t *wch);
18

DESCRIPTION

20       The bkgrndset and wbkgrndset routines manipulate the background of  the
21       named  window.   The  window  background is a cchar_t consisting of any
22       combination of attributes (i.e., rendition) and  a  complex  character.
23       The  attribute part of the background is combined (OR'ed) with all non-
24       blank characters that are written into the window  with  waddch.   Both
25       the  character  and attribute parts of the background are combined with
26       the blank characters.  The background becomes a property of the charac‐
27       ter   and   moves   with   the  character  through  any  scrolling  and
28       insert/delete line/character operations.
29
30       To the extent possible on a particular terminal, the attribute part  of
31       the  background  is displayed as the graphic rendition of the character
32       put on the screen.
33
34       The bkgrnd and wbkgrnd functions set the  background  property  of  the
35       current  or specified window and then apply this setting to every char‐
36       acter position in that window:
37
38              The rendition of every character on the screen is changed to the
39              new background rendition.
40
41              Wherever  the former background character appears, it is changed
42              to the new background character.
43
44       The getbkgrnd function returns the given  window's  current  background
45       character/attribute pair via the wch pointer.
46

NOTES

48       Note that bkgrnd, bkgrndset, and getbkgrnd may be macros.
49

RETURN VALUE

51       The bkgrndset and wbkgrndset routines do not return a value.
52
53       Upon  successful completion, the other functions return OK.  Otherwise,
54       they return ERR.  A null window pointer is treated as an error.
55

SEE ALSO

57       curses(3X), curs_bkgd(3X)
58
59
60
61                                                               curs_bkgrnd(3X)
Impressum