Lines Matching defs:fg
237 drv_defaultcolors(TERMINAL_CONTROL_BLOCK * TCB, int fg, int bg)
247 sp->_default_color = isDefaultColor(fg) || isDefaultColor(bg);
251 sp->_default_fg = isDefaultColor(fg) ? COLOR_DEFAULT : (fg & C_MASK);
258 (short)fg,
687 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)",
741 NCURSES_COLOR_T fg = COLOR_DEFAULT;
760 &fg,
771 if ((isDefaultColor(fg) && !isDefaultColor(old_fg))
798 if (isDefaultColor(fg))
799 fg = (NCURSES_COLOR_T) default_fg(sp);
805 NCURSES_COLOR_T xx = fg;
806 fg = bg;
810 TR(TRACE_ATTRS, ("setting colors: pair = %d, fg = %d, bg = %d", pair,
811 fg, bg));
813 if (!isDefaultColor(fg)) {
814 drv_setcolor(TCB, TRUE, fg, outc);