Home
last modified time | relevance | path

Searched refs:A_COLOR (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwattroff.c52 if (((a & A_COLOR) && (cur_term->_pairs_tbl == NULL)) || in wattroff()
53 ((a & A_COLOR) != (win->_attrs & A_COLOR))) in wattroff()
54 a &= ~A_COLOR; in wattroff()
69 if ((a & A_COLOR) && ((a & A_COLOR) != (win->_bkgd & A_COLOR))) in wattroff()
70 win->_attrs |= (win->_bkgd & A_COLOR); in wattroff()
H A Dwbkgd.c59 if ((nbkgd & A_COLOR) && (cur_term->_pairs_tbl == NULL)) in wbkgd()
60 nbkgd &= ~A_COLOR; in wbkgd()
89 if ((acolor = (win->_attrs & A_COLOR)) != 0) { in wbkgd()
90 if (acolor == (obkgda & A_COLOR)) { in wbkgd()
94 (~obkgda | A_COLOR)) | (nbkgda & ~A_COLOR)); in wbkgd()
106 if ((acolor = (*wcp & A_COLOR)) != 0) { in wbkgd()
107 if (acolor == (obkgda & A_COLOR)) in wbkgd()
112 A_COLOR)) | (nbkgda & ~A_COLOR)); in wbkgd()
H A Dwattrset.c53 if ((a & A_COLOR) && (cur_term->_pairs_tbl == NULL)) in wattrset()
54 a &= ~A_COLOR; in wattrset()
59 temp_bkgd = (a & A_COLOR) ? (win->_bkgd & ~A_COLOR) : win->_bkgd; in wattrset()
H A Dwattron.c52 if (a & A_COLOR) in wattron()
54 win->_attrs &= ~A_COLOR; in wattron()
56 a &= ~A_COLOR; in wattron()
H A Dinit_pair.c89 if ((y[i][j] & A_COLOR) == new_pair) { in init_pair()
90 y[i][j] &= ~A_COLOR; in init_pair()
99 curscr->_attrs &= ~A_COLOR; in init_pair()
H A Dvidupdate.c61 chtype oldvideo = (oldmode & A_ATTRIBUTES) & ~A_COLOR; in vidupdate()
62 chtype newvideo = (newmode & A_ATTRIBUTES) & ~A_COLOR; in vidupdate()
72 short oldcolor = (short) PAIR_NUMBER(oldmode & A_COLOR); in vidupdate()
74 short newcolor = (short) PAIR_NUMBER(newmode & A_COLOR); in vidupdate()
75 chtype turn_off = A_COLOR; in vidupdate()
H A Dcurshdr.h217 (((c) & A_COLOR) ? ((w)->_attrs & ~A_COLOR) : \
H A Dendwin.c122 curscr->_attrs &= ~A_COLOR; /* SS: colors */ in endwin()
H A Dwrefresh.c73 #define _VIDEO(c) ((c) & A_ATTRIBUTES & ~A_COLOR)
74 #define _COLOR(c) ((c) & A_COLOR)
1254 curscr->_attrs &= ~A_COLOR; in _turn_off_background()
H A Dcurses.ed1372 #define A_COLOR 000007700000
1378 #define PAIR_NUMBER(n) (((n) & A_COLOR) >> 15)
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dattron.c84 pair = (int)(((unsigned int)at & A_COLOR) >> __COLOR_SHIFT); in PAIR_NUMBER()
H A Dtermattr.c56 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
H A Dm_cc.c165 cc->_at = (attr_t)((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16); in __m_chtype_cc()
188 ch = ((chtype) cc->_at << 16) & ~A_COLOR; in __m_cc_chtype()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dattron.c111 pair = (short) ((at & A_COLOR) >> __COLOR_SHIFT);
H A Dtermattr.c57 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
H A Dm_cc.c161 cc->_at = (attr_t) ((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16);
180 ch = ((chtype) cc->_at << 16) & ~A_COLOR;
/illumos-gate/usr/src/lib/libxcurses2/h/
H A Dcurses.h219 #define A_COLOR 0xfe000000U /* Color mask */ macro
233 #define A_COLOR 0xfe000000UL /* Color mask */ macro
814 #define PAIR_NUMBER(a) (((chtype)(a) & A_COLOR) >> __COLOR_SHIFT)
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcurses.h199 #define A_COLOR 0xfe000000L /* Colour mask, see __COLOR_SHIFT */ macro
878 #define PAIR_NUMBER(a) (((chtype)(a)&A_COLOR)>>__COLOR_SHIFT)