Lines Matching refs:bg

1285 	text_color_t bg;  in tem_safe_outch()  local
1298 tem_safe_get_attr(tem, &fg, &bg, &attr, TEM_ATTR_REVERSE); in tem_safe_outch()
1301 tem->tvs_outbuf[tem->tvs_outindex].tc_bg_color = bg; in tem_safe_outch()
1793 text_color_t bg, fg; in tem_safe_text_display() local
1804 tem_safe_get_color(tem, &fg, &bg, &string[i]); in tem_safe_text_display()
1806 tem_safe_set_color(&bg, &da.bg_color); in tem_safe_text_display()
1995 text_color_t fg, bg; in tem_safe_pix_bit2pix() local
1999 tem_safe_get_color(tem, &fg, &bg, c); in tem_safe_pix_bit2pix()
2021 fp(tem, c->tc_char, fg, bg); in tem_safe_pix_bit2pix()
2439 text_color_t fg, bg; in tem_safe_pix_cursor() local
2457 tem_safe_get_color(tem, &fg, &bg, &c); in tem_safe_pix_cursor()
2459 tem_safe_set_color(&bg, &ca.bg_color); in tem_safe_pix_cursor()
2482 text_color_t bg) in bit_to_pix4() argument
2486 font_bit_to_pix4(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix4()
2491 text_color_t bg) in bit_to_pix8() argument
2495 font_bit_to_pix8(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix8()
2500 text_color_t bg) in bit_to_pix16() argument
2505 font_bit_to_pix16(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix16()
2510 text_color_t bg) in bit_to_pix24() argument
2515 font_bit_to_pix24(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix24()
2520 text_color_t bg) in bit_to_pix32() argument
2525 font_bit_to_pix32(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix32()
2533 text_color_t *bg, text_attr_t *attr, uint8_t flag) in tem_safe_get_attr() argument
2537 *bg = tem->tvs_fg_color; in tem_safe_get_attr()
2540 *bg = tem->tvs_bg_color; in tem_safe_get_attr()
2549 text_color_t *bg, term_char_t *c) in tem_safe_get_color() argument
2554 *bg = c->tc_bg_color; in tem_safe_get_color()
2576 bg->n = brt_xlate[c->tc_bg_color.n]; in tem_safe_get_color()
2578 bg->n = dim_xlate[c->tc_bg_color.n]; in tem_safe_get_color()
2588 bg->n = tems.ts_color_map(bg->n); in tem_safe_get_color()
2609 bg->n = rgb_to_color(&rgb_info, in tem_safe_get_color()
2610 bg->rgb.a, bg->rgb.r, bg->rgb.g, bg->rgb.b); in tem_safe_get_color()
2614 bg->n = PIX4TO32(bg->n); in tem_safe_get_color()
2616 bg->n = rgb_color_map(&rgb_info, bg->n, tem->tvs_alpha); in tem_safe_get_color()