Lines Matching defs:AttrOf
258 AttrOf(value) &= ALL_BUT_COLOR, \
259 AttrOf(value) |= (A_COLOR & COLOR_PAIR((p > 255) ? 255 : p))
262 #define unColor(n) (AttrOf(n) & ALL_BUT_COLOR)
265 #define SameAttrOf(a,b) (AttrOf(a) == AttrOf(b) && GetPair(a) == GetPair(b))
270 SetAttr(value, AttrOf(value) | (A_COLOR & COLOR_PAIR(p)))
271 #define GetPair(value) PAIR_NUMBER(AttrOf(value))
272 #define unColor(n) (AttrOf(n) & ALL_BUT_COLOR)
276 #define SameAttrOf(a,b) (AttrOf(a) == AttrOf(b))
666 #define AttrOf(c) ((c).attr)
667 #define AddAttr(c,a) AttrOf(c) |= a
668 #define RemAttr(c,a) AttrOf(c) &= ~(a)
669 #define SetAttr(c,a) AttrOf(c) = a
720 #define WidecExt(ch) (AttrOf(ch) & A_CHARTEXT)
723 #define SetWidecExt(dst, ext) AttrOf(dst) &= ~A_CHARTEXT, \
724 AttrOf(dst) |= (ext + 1)
728 || (AttrOf(ch) & A_ALTCHARSET) \
736 #define AttrOf(c) ChAttrOf(c)
761 #define AttrOfD(ch) AttrOf(CHDEREF(ch))
939 attr_t chg = AttrOf(SCREEN_ATTRS(SP)); \
940 VIDATTR(AttrOf(c), GetPair(c)); \
942 && XMC_CHANGES((chg ^ AttrOf(SCREEN_ATTRS(SP))))) { \
952 VIDATTR(AttrOf(c), GetPair(c));