Searched refs:NCOLORS (Results 1 – 3 of 3) sorted by relevance
63 #define NCOLORS (sizeof default_colors/sizeof default_colors[0]) macro64 const int message_base_color = NCOLORS;65 const int menu_color_table_size = NCOLORS + 256;133 color_table = calloc(NCOLORS + 256, sizeof(struct color_table)); in default_color_table()138 for (i = 0; i < NCOLORS; i++) { in default_color_table()157 console_color_table_size = NCOLORS + 256; in default_color_table()171 color_table = calloc(NCOLORS + 256, sizeof(struct color_table)); in copy_color_table()176 for (i = 0; i < NCOLORS + 256; i++) { in copy_color_table()
131 not assuming NCOLORS is 256, handling 8bit TrueColor and Direct Color, etc