Lines Matching refs:NCURSES_CAST
188 #define NCURSES_CAST(type,value) static_cast<type>(value)
190 #define NCURSES_CAST(type,value) (type)(value)
234 #define NCURSES_ACS(c) (acs_map[NCURSES_CAST(unsigned char,c)])
961 #define wattron(win,at) wattr_on(win, NCURSES_CAST(attr_t, at), NULL)
962 #define wattroff(win,at) wattr_off(win, NCURSES_CAST(attr_t, at), NULL)
999 #define PAIR_NUMBER(a) (NCURSES_CAST(int,(((a) & A_COLOR) >> NCURSES_ATTR_SHIFT)))
1065 #define mvwinch(win,y,x) (wmove(win,y,x) == ERR ? NCURSES_CAST(chtype, ERR) : winch(win))