Lines Matching refs:fg
543 tem_select_color(struct tem_vt_state *tem, int color, boolean_t fg) in tem_select_color() argument
553 if (fg == B_TRUE) { in tem_select_color()
565 if (fg == B_TRUE) in tem_select_color()
576 if (fg == B_TRUE) { in tem_select_color()
1284 text_color_t fg; in tem_safe_outch() local
1298 tem_safe_get_attr(tem, &fg, &bg, &attr, TEM_ATTR_REVERSE); in tem_safe_outch()
1300 tem->tvs_outbuf[tem->tvs_outindex].tc_fg_color = fg; 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()
1805 tem_safe_set_color(&fg, &da.fg_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()
2458 tem_safe_set_color(&fg, &ca.fg_color); in tem_safe_pix_cursor()
2481 bit_to_pix4(struct tem_vt_state *tem, tem_char_t c, text_color_t fg, in bit_to_pix4() argument
2486 font_bit_to_pix4(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix4()
2490 bit_to_pix8(struct tem_vt_state *tem, tem_char_t c, text_color_t fg, in bit_to_pix8() argument
2495 font_bit_to_pix8(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix8()
2499 bit_to_pix16(struct tem_vt_state *tem, tem_char_t c, text_color_t fg, in bit_to_pix16() argument
2505 font_bit_to_pix16(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix16()
2509 bit_to_pix24(struct tem_vt_state *tem, tem_char_t c, text_color_t fg, in bit_to_pix24() argument
2515 font_bit_to_pix24(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix24()
2519 bit_to_pix32(struct tem_vt_state *tem, tem_char_t c, text_color_t fg, in bit_to_pix32() argument
2525 font_bit_to_pix32(&tems.ts_font, dest, c, fg.n, bg.n); in bit_to_pix32()
2532 tem_safe_get_attr(struct tem_vt_state *tem, text_color_t *fg, in tem_safe_get_attr() argument
2536 *fg = tem->tvs_bg_color; in tem_safe_get_attr()
2539 *fg = tem->tvs_fg_color; in tem_safe_get_attr()
2548 tem_safe_get_color(struct tem_vt_state *tem, text_color_t *fg, in tem_safe_get_color() argument
2553 *fg = c->tc_fg_color; in tem_safe_get_color()
2568 fg->n = brt_xlate[c->tc_fg_color.n]; in tem_safe_get_color()
2570 fg->n = dim_xlate[c->tc_fg_color.n]; in tem_safe_get_color()
2587 fg->n = tems.ts_color_map(fg->n); in tem_safe_get_color()
2597 fg->n = rgb_to_color(&rgb_info, in tem_safe_get_color()
2598 fg->rgb.a, fg->rgb.r, fg->rgb.g, fg->rgb.b); in tem_safe_get_color()
2602 fg->n = PIX4TO32(fg->n); in tem_safe_get_color()
2604 fg->n = rgb_color_map(&rgb_info, fg->n, tem->tvs_alpha); in tem_safe_get_color()