Lines Matching refs:bg
51 u_short bg; /* background color */ member
140 tcp->dflt_std_color.bg = (SC_NORM_ATTR >> 4) & 0x0f; in scterm_init()
142 tcp->dflt_rev_color.bg = (SC_NORM_REV_ATTR >> 4) & 0x0f; in scterm_init()
459 tcp->cur_color.bg = ansi_col[n - 40]; in scterm_scan_esc()
464 tcp->cur_color.bg = tcp->std_color.bg; in scterm_scan_esc()
497 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
511 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
516 tcp->rev_color.bg = ansi_col[tcp->param[1] & 0x0f]; in scterm_scan_esc()
525 tcp->rev_color.bg = (tcp->param[1] >> 4) & 0x0f; in scterm_scan_esc()
616 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
631 tcp->rev_color.bg = tcp->param[0] & 0x0f; in scterm_scan_esc()
720 vi->mv_norm.back = tcp->std_color.bg; in scterm_ioctl()
722 vi->mv_rev.back = tcp->rev_color.bg; in scterm_ioctl()
744 tcp->dflt_std_color.bg = (color >> 4) & 0x0f; in scterm_default_attr()
746 tcp->dflt_rev_color.bg = (rev_color >> 4) & 0x0f; in scterm_default_attr()
804 tcp->cur_color.bg : tcp->rev_color.fg) | in mask2attr()
806 tcp->cur_color.fg : tcp->rev_color.bg) << 4); in mask2attr()
808 attr = tcp->cur_color.fg | (tcp->cur_color.bg << 4); in mask2attr()