Home
last modified time | relevance | path

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

/openbsd/lib/libcurses/base/
H A Dlib_bkgd.c156 RemAttr(new_bkgd, A_COLOR); in _nc_background()
181 if (!(old_attr & A_COLOR)) { in _nc_background()
200 if (!(new_attr & A_COLOR)) { in _nc_background()
245 (tmp_attr & (~old_attr | A_COLOR)) in _nc_background()
H A Dlib_wattroff.c60 if (at & A_COLOR) in NCURSES_EXPORT()
H A Dlib_overlay.c161 mask = ~(attr_t) ((bk & A_COLOR) ? A_COLOR : 0); in copywin()
H A Dlib_wattron.c60 if (at & A_COLOR) { in NCURSES_EXPORT()
H A Dlib_slkatrof.c54 if ((attr & A_COLOR) != 0) { in NCURSES_EXPORT()
H A Dlib_slkatron.c54 if ((attr & A_COLOR) != 0) { in NCURSES_EXPORT()
H A Dlib_addch.c57 #define COLOR_MASK(ch) (~(attr_t)(((ch) & A_COLOR) ? A_COLOR : 0))
H A Dlib_set_term.c554 sp->_ok_attributes |= A_COLOR; in NCURSES_SP_NAME()
585 sp->_xmc_triggers |= A_COLOR; in NCURSES_SP_NAME()
H A Dlib_screen.c239 *target &= ~A_COLOR; in decode_attr()
/openbsd/lib/libcurses/tty/
H A Dlib_vidattr.c192 if (((newmode & A_COLOR) != 0 in NCURSES_EXPORT()
417 attrs |= A_COLOR; in NCURSES_SP_NAME()
H A Dtty_update.c552 if (AttrOfD(ch) & A_COLOR) in can_clear_with()
557 (AttrOfD(ch) & ~(NONBLANK_ATTR | A_COLOR)) == BLANK_ATTR); in can_clear_with()
1113 #define BCE_ATTRS (A_NORMAL|A_COLOR)
/openbsd/lib/libcurses/widechar/
H A Dlib_add_wch.c61 #define COLOR_MASK(ch) (~(attr_t)(((ch) & A_COLOR) ? A_COLOR : 0))
/openbsd/lib/libcurses/
H A Dcurses.priv.h507 #define ColorPair(n) (NCURSES_BITS(n, 0) & A_COLOR)
508 #define PairNumber(a) (NCURSES_CAST(int,(((unsigned long)(a) & A_COLOR) >> NCURSES_ATTR_SHIFT)))
547 #define SetPair(value,p) RemAttr(value, A_COLOR), \
1803 #define ALL_BUT_COLOR ((chtype)~(A_COLOR))
1820 (S) &= ~(at|A_COLOR);\
H A Dcurses.h1126 #define A_COLOR NCURSES_BITS(((1U) << 8) - 1U,0) macro
1261 #define COLOR_PAIR(n) (NCURSES_BITS((n), 0) & A_COLOR)
1262 #define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,(a)) & A_COLOR) >> NCURSES_AT…
1374 ? ((void)((win)->_attrs = ((a) & ~A_COLOR), \
1394 ? ((void)((win)->_attrs = (((a) & ~A_COLOR) | \
/openbsd/lib/libcurses/tinfo/
H A Dtinfo_driver.c1044 attrs |= A_COLOR; in drv_conattr()
1195 sp->_xmc_triggers |= A_COLOR; in _nc_cookie_init()