Lines Matching defs:fg
162 set_foreground_color(int fg, int (*outc) (int))
166 tputs(TPARM_1(set_a_foreground, fg), 1, outc);
169 tputs(TPARM_1(set_foreground, toggled_colors(fg)), 1, outc);
392 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)",
502 NCURSES_COLOR_T fg = ((SP->_color_pairs[pair] >> C_SHIFT) & C_MASK);
506 if (fg == COLOR_DEFAULT)
507 fg = -1;
513 *f = fg;
517 TR(TRACE_ATTRS, ("...pair_content(%d,%d,%d)", pair, fg, bg));
526 NCURSES_COLOR_T fg = COLOR_DEFAULT;
538 pair_content((short) pair, &fg, &bg);
545 if ((isDefaultColor(fg) && !isDefaultColor(old_fg))
572 if (isDefaultColor(fg))
573 fg = default_fg();
579 NCURSES_COLOR_T xx = fg;
580 fg = bg;
584 TR(TRACE_ATTRS, ("setting colors: pair = %d, fg = %d, bg = %d", pair,
585 fg, bg));
587 if (!isDefaultColor(fg)) {
588 set_foreground_color(fg, outc);