Lines Matching defs:bg
326 teken_color_t fg, bg;
346 for (bg = 0; bg < TC_NCOLORS; bg++) {
347 if ((fgcolors_normal[fg] | bgcolors[bg]) == color) {
349 a->ta_bgcolor = bg;
353 if ((fgcolors_bold[fg] | bgcolors[bg]) == color) {
355 a->ta_bgcolor = bg;
367 teken_color_t fg, bg;
371 bg = teken_256to8(a->ta_fgcolor);
374 bg = teken_256to8(a->ta_bgcolor);
380 attr |= bgcolors[bg];