Searched refs:A_COLOR (Results 1 – 18 of 18) sorted by relevance
54 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()
61 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()
55 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()
54 if (a & A_COLOR) in wattron()56 win->_attrs &= ~A_COLOR; in wattron()58 a &= ~A_COLOR; in wattron()
91 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()
63 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()
219 (((c) & A_COLOR) ? ((w)->_attrs & ~A_COLOR) : \
124 curscr->_attrs &= ~A_COLOR; /* SS: colors */ in endwin()
75 #define _VIDEO(c) ((c) & A_ATTRIBUTES & ~A_COLOR)76 #define _COLOR(c) ((c) & A_COLOR)1249 curscr->_attrs &= ~A_COLOR; in _turn_off_background()
1372 #define A_COLOR 0000077000001378 #define PAIR_NUMBER(n) (((n) & A_COLOR) >> 15)
86 pair = (int)(((unsigned int)at & A_COLOR) >> __COLOR_SHIFT); in PAIR_NUMBER()
58 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
167 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()
113 pair = (short) ((at & A_COLOR) >> __COLOR_SHIFT);
59 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
163 cc->_at = (attr_t) ((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16);182 ch = ((chtype) cc->_at << 16) & ~A_COLOR;
221 #define A_COLOR 0xfe000000U /* Color mask */ macro235 #define A_COLOR 0xfe000000UL /* Color mask */ macro816 #define PAIR_NUMBER(a) (((chtype)(a) & A_COLOR) >> __COLOR_SHIFT)
201 #define A_COLOR 0xfe000000L /* Colour mask, see __COLOR_SHIFT */ macro880 #define PAIR_NUMBER(a) (((chtype)(a)&A_COLOR)>>__COLOR_SHIFT)