Lines Matching refs:bg
237 drv_defaultcolors(TERMINAL_CONTROL_BLOCK * TCB, int fg, int bg)
247 sp->_default_color = isDefaultColor(fg) || isDefaultColor(bg);
252 sp->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : (bg & C_MASK);
259 (short)bg);
687 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)",
742 NCURSES_COLOR_T bg = COLOR_DEFAULT;
761 &bg);
772 || (isDefaultColor(bg) && !isDefaultColor(old_bg))) {
800 if (isDefaultColor(bg))
801 bg = (NCURSES_COLOR_T) default_bg(sp);
806 fg = bg;
807 bg = xx;
810 TR(TRACE_ATTRS, ("setting colors: pair = %d, fg = %d, bg = %d", pair,
811 fg, bg));
816 if (!isDefaultColor(bg)) {
817 drv_setcolor(TCB, FALSE, bg, outc);