Lines Matching defs:wch
146 bkgrndset(const cchar_t *wch)
148 wbkgrndset(stdscr, wch);
153 bkgrnd(const cchar_t *wch)
155 return wbkgrnd(stdscr, wch);
160 getbkgrnd(cchar_t *wch)
162 return wgetbkgrnd(stdscr, wch);
167 wbkgrndset(WINDOW *win, const cchar_t *wch)
176 win, (const char *)wunctrl(wch), wch->attributes);
182 if (!wch->elements || wcwidth(wch->vals[0]) > 1)
195 if (wcwidth( wch->vals[0]))
196 win->bch = wch->vals[0];
205 np->ch = wch->vals[0];
210 if (wch->elements > 1) {
211 for (i = 1; i < wch->elements; i++) {
222 np->ch = wch->vals[i];
231 battr = wch->attributes & WA_ATTRIBUTES;
267 wbkgrnd(WINDOW *win, const cchar_t *wch)
270 win, (const char *)wunctrl(wch), wch->attributes);
276 if (!wch->elements || wcwidth( wch->vals[ 0 ]) > 1)
279 wbkgrndset(win, wch);
286 wgetbkgrnd(WINDOW *win, cchar_t *wch)
294 wch->attributes = win->battr & WA_ATTRIBUTES;
295 if (__using_color && ((wch->attributes & __COLOR) == __default_color))
296 wch->attributes &= ~__COLOR;
297 wch->vals[0] = win->bch;
298 wch->elements = 1;
301 while (np && wch->elements < CURSES_CCHAR_MAX) {
302 wch->vals[wch->elements++] = np->ch;
313 bkgrndset(const cchar_t *wch)
319 bkgrnd(const cchar_t *wch)
326 getbkgrnd(cchar_t *wch)
333 wbkgrndset(WINDOW *win, const cchar_t *wch)
340 wbkgrnd(WINDOW *win, const cchar_t *wch)
347 wgetbkgrnd(WINDOW *win, cchar_t *wch)