Searched refs:A_COLOR (Results 1 – 18 of 18) sorted by relevance
52 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()
59 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()
53 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()
52 if (a & A_COLOR) in wattron()54 win->_attrs &= ~A_COLOR; in wattron()56 a &= ~A_COLOR; in wattron()
61 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()
89 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()
217 (((c) & A_COLOR) ? ((w)->_attrs & ~A_COLOR) : \
122 curscr->_attrs &= ~A_COLOR; /* SS: colors */ in endwin()
73 #define _VIDEO(c) ((c) & A_ATTRIBUTES & ~A_COLOR)74 #define _COLOR(c) ((c) & A_COLOR)1254 curscr->_attrs &= ~A_COLOR; in _turn_off_background()
1372 #define A_COLOR 0000077000001378 #define PAIR_NUMBER(n) (((n) & A_COLOR) >> 15)
84 pair = (int)(((unsigned int)at & A_COLOR) >> __COLOR_SHIFT); in PAIR_NUMBER()
56 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
165 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()
111 pair = (short) ((at & A_COLOR) >> __COLOR_SHIFT);
57 ch = __m_cc_chtype(&cc) & A_ATTRIBUTES & ~A_COLOR; in termattrs()
161 cc->_at = (attr_t) ((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16);180 ch = ((chtype) cc->_at << 16) & ~A_COLOR;
219 #define A_COLOR 0xfe000000U /* Color mask */ macro233 #define A_COLOR 0xfe000000UL /* Color mask */ macro814 #define PAIR_NUMBER(a) (((chtype)(a) & A_COLOR) >> __COLOR_SHIFT)
199 #define A_COLOR 0xfe000000L /* Colour mask, see __COLOR_SHIFT */ macro878 #define PAIR_NUMBER(a) (((chtype)(a)&A_COLOR)>>__COLOR_SHIFT)