Searched refs:A_COLOR (Results 1 – 15 of 15) sorted by relevance
/openbsd/lib/libcurses/base/ |
H A D | lib_bkgd.c | 156 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 D | lib_wattroff.c | 60 if (at & A_COLOR) in NCURSES_EXPORT()
|
H A D | lib_overlay.c | 161 mask = ~(attr_t) ((bk & A_COLOR) ? A_COLOR : 0); in copywin()
|
H A D | lib_wattron.c | 60 if (at & A_COLOR) { in NCURSES_EXPORT()
|
H A D | lib_slkatrof.c | 54 if ((attr & A_COLOR) != 0) { in NCURSES_EXPORT()
|
H A D | lib_slkatron.c | 54 if ((attr & A_COLOR) != 0) { in NCURSES_EXPORT()
|
H A D | lib_addch.c | 57 #define COLOR_MASK(ch) (~(attr_t)(((ch) & A_COLOR) ? A_COLOR : 0))
|
H A D | lib_set_term.c | 554 sp->_ok_attributes |= A_COLOR; in NCURSES_SP_NAME() 585 sp->_xmc_triggers |= A_COLOR; in NCURSES_SP_NAME()
|
H A D | lib_screen.c | 239 *target &= ~A_COLOR; in decode_attr()
|
/openbsd/lib/libcurses/tty/ |
H A D | lib_vidattr.c | 192 if (((newmode & A_COLOR) != 0 in NCURSES_EXPORT() 417 attrs |= A_COLOR; in NCURSES_SP_NAME()
|
H A D | tty_update.c | 552 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 D | lib_add_wch.c | 61 #define COLOR_MASK(ch) (~(attr_t)(((ch) & A_COLOR) ? A_COLOR : 0))
|
/openbsd/lib/libcurses/ |
H A D | curses.priv.h | 507 #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 D | curses.h | 1126 #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 D | tinfo_driver.c | 1044 attrs |= A_COLOR; in drv_conattr() 1195 sp->_xmc_triggers |= A_COLOR; in _nc_cookie_init()
|