Searched refs:MaxColors (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_set_term.c53 #define MaxColors InfoOf(sp).maxcolors macro
56 #define MaxColors max_colors
427 sp->_default_fg = ((fg >= 0 && fg < MaxColors) ? fg : C_MASK);
429 sp->_default_bg = ((bg >= 0 && bg < MaxColors) ? bg : C_MASK);
453 if (sp->_default_fg >= MaxColors) {
458 sp->_default_fg %= MaxColors;
461 if (sp->_default_bg >= MaxColors) {
466 sp->_default_bg %= MaxColors;
H A Dlib_color.c55 #define MaxColors InfoOf(SP_PARM).maxcolors macro
63 #define MaxColors max_colors
323 maxcolors = MaxColors;
450 maxcolors = MaxColors;
604 maxcolors = MaxColors;
723 maxcolors = MaxColors;

Completed in 97 milliseconds