A_COLOR
#define COLOR_MASK(ch) (~(attr_t)(((ch) & A_COLOR) ? A_COLOR : 0))
RemAttr(new_bkgd, A_COLOR);
if (!(old_attr & A_COLOR)) {
if (!(new_attr & A_COLOR)) {
(tmp_attr & (~old_attr | A_COLOR))
mask = ~(attr_t) ((bk & A_COLOR) ? A_COLOR : 0);
*target &= ~A_COLOR;
sp->_ok_attributes |= A_COLOR;
sp->_xmc_triggers |= A_COLOR;
if ((attr & A_COLOR) != 0) {
if ((attr & A_COLOR) != 0) {
if (at & A_COLOR)
if (at & A_COLOR) {
#define COLOR_PAIR(n) (NCURSES_BITS((n), 0) & A_COLOR)
#define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,(a)) & A_COLOR) >> NCURSES_ATTR_SHIFT)))
? ((void)((win)->_attrs = ((a) & ~A_COLOR), \
? ((void)((win)->_attrs = (((a) & ~A_COLOR) | \
#define ALL_BUT_COLOR ((chtype)~(A_COLOR))
(S) &= ~(at|A_COLOR);\
#define ColorPair(n) (NCURSES_BITS(n, 0) & A_COLOR)
#define PairNumber(a) (NCURSES_CAST(int,(((unsigned long)(a) & A_COLOR) >> NCURSES_ATTR_SHIFT)))
#define SetPair(value,p) RemAttr(value, A_COLOR), \
attrs |= A_COLOR;
sp->_xmc_triggers |= A_COLOR;
if (((newmode & A_COLOR) != 0
attrs |= A_COLOR;
#define BCE_ATTRS (A_NORMAL|A_COLOR)
if (AttrOfD(ch) & A_COLOR)
(AttrOfD(ch) & ~(NONBLANK_ATTR | A_COLOR)) == BLANK_ATTR);
#define COLOR_MASK(ch) (~(attr_t)(((ch) & A_COLOR) ? A_COLOR : 0))