Searched defs:__COLOR_SHIFT (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libxcurses2/h/
H A Dcurses.h241 #define __COLOR_SHIFT 26 macro
815 #define COLOR_PAIR(n) ((chtype)(n) << __COLOR_SHIFT)
816 #define PAIR_NUMBER(a) (((chtype)(a) & A_COLOR) >> __COLOR_SHIFT)
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcurses.h201 #define A_COLOR 0xfe000000L /* Colour mask, see __COLOR_SHIFT */
215 #define __COLOR_SHIFT 26 macro
879 #define COLOR_PAIR(n) ((chtype)(n)<<__COLOR_SHIFT)
880 #define PAIR_NUMBER(a) (((chtype)(a)&A_COLOR)>>__COLOR_SHIFT)

Completed in 52 milliseconds