Lines Matching refs:bg
889 uint8_t fg, bg; in tems_get_initial_color() local
892 bg = DEFAULT_ANSI_BACKGROUND; in tems_get_initial_color()
893 plat_tem_get_colors(&fg, &bg); in tems_get_initial_color()
895 pcolor->bg_color.n = bg; in tems_get_initial_color()
1838 text_color_t bg; in tem_outch() local
1848 tem_get_attr(tem, &fg, &bg, &attr, TEM_ATTR_REVERSE); in tem_outch()
1851 tem->tvs_outbuf[tem->tvs_outindex].tc_bg_color = bg; in tem_outch()
2307 text_color_t bg, fg; in tem_text_display() local
2318 tem_get_color(tem, &fg, &bg, &string[i]); in tem_text_display()
2320 tem_set_color(&bg, &da.bg_color); in tem_text_display()
2470 text_color_t fg, bg; in tem_pix_bit2pix() local
2472 tem_get_color(tem, &fg, &bg, c); in tem_pix_bit2pix()
2473 bit_to_pix32(tem, c->tc_char, fg, bg); in tem_pix_bit2pix()
2790 text_color_t fg, bg; in tem_pix_cursor() local
2805 tem_get_color(tem, &fg, &bg, &c); in tem_pix_cursor()
2807 tem_set_color(&bg, &ca.bg_color); in tem_pix_cursor()
2830 tem_char_t c, text_color_t fg, text_color_t bg) in bit_to_pix32() argument
2835 font_bit_to_pix32(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix32()
2843 text_color_t *bg, text_attr_t *attr, uint8_t flag) in tem_get_attr() argument
2847 *bg = tem->tvs_fg_color; in tem_get_attr()
2850 *bg = tem->tvs_bg_color; in tem_get_attr()
2858 tem_get_color(struct tem_vt_state *tem, text_color_t *fg, text_color_t *bg, in tem_get_color() argument
2864 *bg = c->tc_bg_color; in tem_get_color()
2886 bg->n = brt_xlate[c->tc_bg_color.n]; in tem_get_color()
2888 bg->n = dim_xlate[c->tc_bg_color.n]; in tem_get_color()
2905 bg->n = rgb_to_color(&rgb_info, in tem_get_color()
2906 bg->rgb.a, bg->rgb.r, bg->rgb.g, bg->rgb.b); in tem_get_color()
2908 bg->n = rgb_color_map(&rgb_info, bg->n, tem->tvs_alpha); in tem_get_color()
2927 tem_get_colors(tem_vt_state_t tem_arg, text_color_t *fg, text_color_t *bg) in tem_get_colors() argument
2936 tem_get_color(tem, fg, bg, &c); in tem_get_colors()