Searched refs:COLORS (Results 1 – 12 of 12) sorted by relevance
53 NCURSES_EXPORT_VAR(int) COLORS = 0;162 for (n = 0; n < COLORS; n++) { in init_color_table()241 COLORS = SP->_color_count = max_colors; in start_color()251 COLORS, COLOR_PAIRS)); in start_color()323 if (f >= COLORS && !isDefaultColor(f)) in init_pair()325 if (b >= COLORS && !isDefaultColor(b)) in init_pair()330 if ((f < 0) || (f >= COLORS) in init_pair()331 || (b < 0) || (b >= COLORS) in init_pair()398 && (color >= 0 && color < COLORS) in init_color()450 if (color < 0 || color >= COLORS || SP == 0 || !SP->_coloron) { in color_content()
66 COLORS = SP->_color_count; in set_term()158 COLORS = 0; in delscreen()
208 } else if (COLORS) { in parse_attributes()211 if (fA >= COLORS) in parse_attributes()213 if (bA >= COLORS) in parse_attributes()217 if (fA >= COLORS || bA >= COLORS) in parse_attributes()219 if (fA >= COLORS) in parse_attributes()220 fA %= COLORS; in parse_attributes()221 if (bA >= COLORS) in parse_attributes()222 bA %= COLORS; in parse_attributes()
286 StrAllocCat(result, lookup_color(bold ? f + COLORS : f)); in attr_to_string()660 #define is_boldc(c) ((c) > (COLORS-1))661 #define map2bold(c) (is_boldc(c) ? ((c) & (COLORS-1)) : (c))674 if (is_boldc(fg) && (fg & COLORS)) in lynx_color_cfg_attr()1437 #ifndef COLORS in start_curses()1439 if (COLORS > 16) in start_curses()1440 COLORS = 16; in start_curses()1441 if (COLORS < 8) in start_curses()1442 COLORS = 2; in start_curses()1443 if (COLORS > 8 && COLORS != 16) in start_curses()[all …]
324 #define COLORS 16 /* should be a variable... */ macro
211 static enum COLORS screen_color[] = { in flush()
603 SMALL_CHAR_WIDTH SMALL_CHAR_HEIGHT COLORS COLOR_PLANES
204 extern NCURSES_EXPORT_VAR(int) COLORS;
201 extern NCURSES_EXPORT_VAR(int) COLORS;
2923 # COLORS are only available if compiled with SVr4 curses or slang. This is
2066 * rewrote lynx_chg_color() to handle a COLORS value of 16 (report by TH) -TD2067 * redefine PDCurses' COLORS value to 16, since it incorrectly uses 8 -TD
3585 that color_content() will return usable values for COLORS greater3587 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for