Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libcurses/screen/
H A Dwattroff.c54 if (((a & A_COLOR) && (cur_term->_pairs_tbl == NULL)) || in wattroff()
55 ((a & A_COLOR) != (win->_attrs & A_COLOR))) in wattroff()
56 a &= ~A_COLOR; in wattroff()
71 if ((a & A_COLOR) && ((a & A_COLOR) != (win->_bkgd & A_COLOR))) in wattroff()
72 win->_attrs |= (win->_bkgd & A_COLOR); in wattroff()
H A Dwbkgd.c61 if ((nbkgd & A_COLOR) && (cur_term->_pairs_tbl == NULL)) in wbkgd()
62 nbkgd &= ~A_COLOR; in wbkgd()
91 if ((acolor = (win->_attrs & A_COLOR)) != 0) { in wbkgd()
92 if (acolor == (obkgda & A_COLOR)) { in wbkgd()
96 (~obkgda | A_COLOR)) | (nbkgda & ~A_COLOR)); in wbkgd()
108 if ((acolor = (*wcp & A_COLOR)) != 0) { in wbkgd()
109 if (acolor == (obkgda & A_COLOR)) in wbkgd()
114 A_COLOR)) | (nbkgda & ~A_COLOR)); in wbkgd()
H A Dwattrset.c55 if ((a & A_COLOR) && (cur_term->_pairs_tbl == NULL)) in wattrset()
56 a &= ~A_COLOR; in wattrset()
61 temp_bkgd = (a & A_COLOR) ? (win->_bkgd & ~A_COLOR) : win->_bkgd; in wattrset()
H A Dwattron.c54 if (a & A_COLOR) in wattron()
56 win->_attrs &= ~A_COLOR; in wattron()
58 a &= ~A_COLOR; in wattron()
H A Dinit_pair.c91 if ((y[i][j] & A_COLOR) == new_pair) { in init_pair()
92 y[i][j] &= ~A_COLOR; in init_pair()
101 curscr->_attrs &= ~A_COLOR; in init_pair()
H A Dvidupdate.c63 chtype oldvideo = (oldmode & A_ATTRIBUTES) & ~A_COLOR; in vidupdate()
64 chtype newvideo = (newmode & A_ATTRIBUTES) & ~A_COLOR; in vidupdate()
74 short oldcolor = (short) PAIR_NUMBER(oldmode & A_COLOR); in vidupdate()
76 short newcolor = (short) PAIR_NUMBER(newmode & A_COLOR); in vidupdate()
77 chtype turn_off = A_COLOR; in vidupdate()
H A Dcurshdr.h219 (((c) & A_COLOR) ? ((w)->_attrs & ~A_COLOR) : \
H A Dendwin.c124 curscr->_attrs &= ~A_COLOR; /* SS: colors */ in endwin()
H A Dwrefresh.c75 #define _VIDEO(c) ((c) & A_ATTRIBUTES & ~A_COLOR)
76 #define _COLOR(c) ((c) & A_COLOR)
1249 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)
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dattron.c86 pair = (int)(((unsigned int)at & A_COLOR) >> __COLOR_SHIFT); in PAIR_NUMBER()
H A Dtermattr.c58 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
H A Dm_cc.c167 cc->_at = (attr_t)((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16); in __m_chtype_cc()
190 ch = ((chtype) cc->_at << 16) & ~A_COLOR; in __m_cc_chtype()
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dattron.c113 pair = (short) ((at & A_COLOR) >> __COLOR_SHIFT);
H A Dtermattr.c59 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
H A Dm_cc.c163 cc->_at = (attr_t) ((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16);
182 ch = ((chtype) cc->_at << 16) & ~A_COLOR;
/titanic_50/usr/src/lib/libxcurses2/h/
H A Dcurses.h221 #define A_COLOR 0xfe000000U /* Color mask */ macro
235 #define A_COLOR 0xfe000000UL /* Color mask */ macro
816 #define PAIR_NUMBER(a) (((chtype)(a) & A_COLOR) >> __COLOR_SHIFT)
/titanic_50/usr/src/lib/libxcurses/h/
H A Dcurses.h201 #define A_COLOR 0xfe000000L /* Colour mask, see __COLOR_SHIFT */ macro
880 #define PAIR_NUMBER(a) (((chtype)(a)&A_COLOR)>>__COLOR_SHIFT)