Home
last modified time | relevance | path

Searched refs:MaxColors (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_set_term.c63 #define MaxColors InfoOf(sp).maxcolors macro
66 #define MaxColors max_colors
494 sp->_default_fg = ((fg >= 0 && fg < MaxColors) ? fg : COLOR_DEFAULT); in NCURSES_SP_NAME()
496 sp->_default_bg = ((bg >= 0 && bg < MaxColors) ? bg : COLOR_DEFAULT); in NCURSES_SP_NAME()
520 if (sp->_default_fg >= MaxColors) { in NCURSES_SP_NAME()
525 sp->_default_fg %= MaxColors; in NCURSES_SP_NAME()
528 if (sp->_default_bg >= MaxColors) { in NCURSES_SP_NAME()
533 sp->_default_bg %= MaxColors; in NCURSES_SP_NAME()
H A Dlib_color.c59 #define MaxColors InfoOf(SP_PARM).maxcolors macro
67 #define MaxColors max_colors
371 int maxcolors = MaxColors; in NCURSES_SP_NAME()
573 maxcolors = MaxColors; in _nc_init_pair()
721 maxcolors = MaxColors; in _nc_init_color()
843 int maxcolors = MaxColors; in _nc_color_content()
H A Dnew_pair.c47 #define MaxColors InfoOf(SP_PARM).maxcolors macro
49 #define MaxColors max_colors macro