Searched defs:nbkgd (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwbkgd.c47 /* Change the background of a window. nbkgd : new background. */
50 wbkgd(WINDOW *win, chtype nbkgd) argument
58 /* if 'nbkgd' contains color information, but this is not a color */
61 if ((nbkgd & A_COLOR) && (cur_term->_pairs_tbl == NULL))
62 nbkgd &= ~A_COLOR;
64 if (nbkgd == win->_bkgd)
70 nbkgdc = _CHAR(nbkgd);
71 nbkgda = _ATTR(nbkgd);
81 nbkgd = (nbkgdc & ~CBIT) | nbkgda;
83 win->_bkgd = nbkgd;
[all...]

Completed in 45 milliseconds