Lines Matching defs:fg
184 attr_to_str(char *str, int fg, int bg, int hl)
190 for (i = 0; fg != color_names[i].value; i++) ;
212 str_to_attr(char *str, int *fg, int *bg, int *hl)
221 *fg = dlg_color_table[i].fg;
242 /* skip white space before fg/bg string */
246 part = tempstr + i; /* set 'part' to start of fg/bg string */
248 /* find end of fg/bg string */
269 *fg = color_names[j].value;
447 if (dlg_color_table[i].fg == dlg_color_table[j].fg
461 dlg_color_table[i].fg,
588 int fg = 0;
591 if (str_to_attr(value, &fg, &bg, &hl) == -1) {
597 dlg_color_table[i].fg = fg;