Lines Matching +refs:feature +refs:define +refs:name

24  * Except as contained in this notice, the name(s) of the above copyright   *
39 #define __NCURSES_H
70 #define CURSES 1
71 #define CURSES_H 1
74 #define NCURSES_VERSION_MAJOR @NCURSES_MAJOR@
75 #define NCURSES_VERSION_MINOR @NCURSES_MINOR@
76 #define NCURSES_VERSION_PATCH @NCURSES_PATCH@
80 #define NCURSES_VERSION "@NCURSES_MAJOR@.@NCURSES_MINOR@"
85 #define NCURSES_MOUSE_VERSION @NCURSES_MOUSE_VERSION@
104 #define GCC_NORETURN _Noreturn
112 #define NCURSES_ENABLE_STDBOOL_H @cf_cv_header_stdbool_h@
120 #define NCURSES_ATTR_T int
128 #define NCURSES_CONST @NCURSES_CONST@
131 #define NCURSES_INLINE @NCURSES_INLINE@
143 #define NCURSES_COLOR_T short
146 #define NCURSES_PAIRS_T short
152 #define NCURSES_OPAQUE @NCURSES_OPAQUE@
153 #define NCURSES_OPAQUE_FORM @NCURSES_OPAQUE_FORM@
154 #define NCURSES_OPAQUE_MENU @NCURSES_OPAQUE_MENU@
155 #define NCURSES_OPAQUE_PANEL @NCURSES_OPAQUE_PANEL@
164 #define NCURSES_WATTR_MACROS @NCURSES_WATTR_MACROS@
171 #define NCURSES_REENTRANT @cf_cv_enable_reentrant@
175 * KEY_RESIZE is an extended feature that relies upon the SIGWINCH handler
180 #define NCURSES_SIGWINCH @cf_cv_enable_sigwinch@
184 #define NCURSES_SIGWINCH 0
192 #define NCURSES_BROKEN_LINKER 1
199 #define NCURSES_INTEROP_FUNCS @NCURSES_INTEROP_FUNCS@
205 #define NCURSES_SIZE_T @NCURSES_SIZE_T@
211 #define NCURSES_TPARM_VARARGS @NCURSES_TPARM_VARARGS@
218 #define NCURSES_TPARM_ARG @NCURSES_TPARM_ARG@
225 #define NCURSES_WCWIDTH_GRAPHICS @NCURSES_WCWIDTH_GRAPHICS@
233 #define NCURSES_CH_T @NCURSES_CH_T@
244 * We need FILE, etc. Include this before checking any feature symbols.
249 * With XPG4, you must define _XOPEN_SOURCE_EXTENDED, it is redundant (or
251 * not already defined, e.g., if the platform relies upon nonstandard feature
252 * test macros, define it at this point if the standard feature test macros
257 #define NCURSES_WIDECHAR 1
259 #define NCURSES_WIDECHAR 0
275 * Otherwise, let it remain a typedef to avoid conflicts with other #define's.
281 #define TRUE 1
284 #define FALSE 0
291 #define NCURSES_BOOL bool
298 #define NCURSES_BOOL bool
302 #define bool NCURSES_BOOL
309 #define NCURSES_CAST(type,value) static_cast<type>(value)
311 #define NCURSES_CAST(type,value) (type)(value)
314 #define NCURSES_OK_ADDR(p) (0 != NCURSES_CAST(const void *, (p)))
320 #define WA_ATTRIBUTES A_ATTRIBUTES
321 #define WA_NORMAL A_NORMAL
322 #define WA_STANDOUT A_STANDOUT
323 #define WA_UNDERLINE A_UNDERLINE
324 #define WA_REVERSE A_REVERSE
325 #define WA_BLINK A_BLINK
326 #define WA_DIM A_DIM
327 #define WA_BOLD A_BOLD
328 #define WA_ALTCHARSET A_ALTCHARSET
329 #define WA_INVIS A_INVIS
330 #define WA_PROTECT A_PROTECT
331 #define WA_HORIZONTAL A_HORIZONTAL
332 #define WA_LEFT A_LEFT
333 #define WA_LOW A_LOW
334 #define WA_RIGHT A_RIGHT
335 #define WA_TOP A_TOP
336 #define WA_VERTICAL A_VERTICAL
339 #define WA_ITALIC A_ITALIC /* ncurses extension */
343 #define COLOR_BLACK 0
344 #define COLOR_RED 1
345 #define COLOR_GREEN 2
346 #define COLOR_YELLOW 3
347 #define COLOR_BLUE 4
348 #define COLOR_MAGENTA 5
349 #define COLOR_CYAN 6
350 #define COLOR_WHITE 7
356 #define acs_map NCURSES_PUBLIC_VAR(acs_map())
361 #define NCURSES_ACS(c) (acs_map[NCURSES_CAST(unsigned char,(c))])
364 #define ACS_ULCORNER NCURSES_ACS('l') /* upper left corner */
365 #define ACS_LLCORNER NCURSES_ACS('m') /* lower left corner */
366 #define ACS_URCORNER NCURSES_ACS('k') /* upper right corner */
367 #define ACS_LRCORNER NCURSES_ACS('j') /* lower right corner */
368 #define ACS_LTEE NCURSES_ACS('t') /* tee pointing right */
369 #define ACS_RTEE NCURSES_ACS('u') /* tee pointing left */
370 #define ACS_BTEE NCURSES_ACS('v') /* tee pointing up */
371 #define ACS_TTEE NCURSES_ACS('w') /* tee pointing down */
372 #define ACS_HLINE NCURSES_ACS('q') /* horizontal line */
373 #define ACS_VLINE NCURSES_ACS('x') /* vertical line */
374 #define ACS_PLUS NCURSES_ACS('n') /* large plus or crossover */
375 #define ACS_S1 NCURSES_ACS('o') /* scan line 1 */
376 #define ACS_S9 NCURSES_ACS('s') /* scan line 9 */
377 #define ACS_DIAMOND NCURSES_ACS('`') /* diamond */
378 #define ACS_CKBOARD NCURSES_ACS('a') /* checker board (stipple) */
379 #define ACS_DEGREE NCURSES_ACS('f') /* degree symbol */
380 #define ACS_PLMINUS NCURSES_ACS('g') /* plus/minus */
381 #define ACS_BULLET NCURSES_ACS('~') /* bullet */
383 #define ACS_LARROW NCURSES_ACS(',') /* arrow pointing left */
384 #define ACS_RARROW NCURSES_ACS('+') /* arrow pointing right */
385 #define ACS_DARROW NCURSES_ACS('.') /* arrow pointing down */
386 #define ACS_UARROW NCURSES_ACS('-') /* arrow pointing up */
387 #define ACS_BOARD NCURSES_ACS('h') /* board of squares */
388 #define ACS_LANTERN NCURSES_ACS('i') /* lantern symbol */
389 #define ACS_BLOCK NCURSES_ACS('0') /* solid square block */
395 #define ACS_S3 NCURSES_ACS('p') /* scan line 3 */
396 #define ACS_S7 NCURSES_ACS('r') /* scan line 7 */
397 #define ACS_LEQUAL NCURSES_ACS('y') /* less/equal */
398 #define ACS_GEQUAL NCURSES_ACS('z') /* greater/equal */
399 #define ACS_PI NCURSES_ACS('{') /* Pi */
400 #define ACS_NEQUAL NCURSES_ACS('|') /* not equal */
401 #define ACS_STERLING NCURSES_ACS('}') /* UK pound sign */
409 #define ACS_BSSB ACS_ULCORNER
410 #define ACS_SSBB ACS_LLCORNER
411 #define ACS_BBSS ACS_URCORNER
412 #define ACS_SBBS ACS_LRCORNER
413 #define ACS_SBSS ACS_RTEE
414 #define ACS_SSSB ACS_LTEE
415 #define ACS_SSBS ACS_BTEE
416 #define ACS_BSSS ACS_TTEE
417 #define ACS_BSBS ACS_HLINE
418 #define ACS_SBSB ACS_VLINE
419 #define ACS_SSSS ACS_PLUS
422 #define ERR (-1)
425 #define OK (0)
428 #define _SUBWIN 0x01 /* is this a sub-window? */
429 #define _ENDLINE 0x02 /* is the window flush right? */
430 #define _FULLWIN 0x04 /* is the window full-screen? */
431 #define _SCROLLWIN 0x08 /* bottom edge is at screen bottom? */
432 #define _ISPAD 0x10 /* is this window a pad? */
433 #define _HASMOVED 0x20 /* has cursor moved since last refresh? */
434 #define _WRAPPED 0x40 /* cursor was just wrappped */
440 #define _NOCHANGE -1
446 #define _NEWINDEX -1
450 #define SCREEN struct screen
487 #define CCHARW_MAX @NCURSES_CCHARW_MAX@
494 #define NCURSES_EXT_COLORS @NCURSES_PATCH@
562 * GCC (and some other compilers) define '__attribute__'; we're using this
569 #define __attribute__(p) /* nothing */
573 * We cannot define these in ncurses_cfg.h, since they require parameters to be
578 #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
580 #define GCC_PRINTFLIKE(fmt,var) /*nothing*/
586 #define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
588 #define GCC_SCANFLIKE(fmt,var) /*nothing*/
593 #define GCC_NORETURN /* nothing */
597 #define GCC_UNUSED /* nothing */
602 #define GCC_DEPRECATED(msg) __attribute__((deprecated))
604 #define GCC_DEPRECATED(msg) /* nothing */
609 * extending it for the sp-funcs feature.
933 #define vid_attr(a,pair,opts) vidattr(a)
941 #define NCURSES_EXT_FUNCS @NCURSES_PATCH@
978 #define NCURSES_XNAMES @NCURSES_XNAMES@
1003 #define curses_version() NCURSES_VERSION
1012 #define NCURSES_SP_FUNCS @NCURSES_PATCH@
1013 #define NCURSES_SP_NAME(name) name##_sp argument
1016 #define NCURSES_SP_OUTC NCURSES_SP_NAME(NCURSES_OUTC)
1125 #define NCURSES_SP_FUNCS 0
1126 #define NCURSES_SP_NAME(name) name argument
1127 #define NCURSES_SP_OUTC NCURSES_OUTC
1132 #define NCURSES_ATTR_SHIFT 8
1133 #define NCURSES_BITS(mask,shift) (NCURSES_CAST(chtype,(mask)) << ((shift) + NCURSES_ATTR_SHIFT))
1135 #define A_NORMAL (@cf_cv_1UL@ - @cf_cv_1UL@)
1136 #define A_ATTRIBUTES NCURSES_BITS(~(@cf_cv_1UL@ - @cf_cv_1UL@),0)
1137 #define A_CHARTEXT (NCURSES_BITS(@cf_cv_1UL@,0) - @cf_cv_1UL@)
1138 #define A_COLOR NCURSES_BITS(((@cf_cv_1UL@) << 8) - @cf_cv_1UL@,0)
1139 #define A_STANDOUT NCURSES_BITS(@cf_cv_1UL@,8)
1140 #define A_UNDERLINE NCURSES_BITS(@cf_cv_1UL@,9)
1141 #define A_REVERSE NCURSES_BITS(@cf_cv_1UL@,10)
1142 #define A_BLINK NCURSES_BITS(@cf_cv_1UL@,11)
1143 #define A_DIM NCURSES_BITS(@cf_cv_1UL@,12)
1144 #define A_BOLD NCURSES_BITS(@cf_cv_1UL@,13)
1145 #define A_ALTCHARSET NCURSES_BITS(@cf_cv_1UL@,14)
1146 #define A_INVIS NCURSES_BITS(@cf_cv_1UL@,15)
1147 #define A_PROTECT NCURSES_BITS(@cf_cv_1UL@,16)
1148 #define A_HORIZONTAL NCURSES_BITS(@cf_cv_1UL@,17)
1149 #define A_LEFT NCURSES_BITS(@cf_cv_1UL@,18)
1150 #define A_LOW NCURSES_BITS(@cf_cv_1UL@,19)
1151 #define A_RIGHT NCURSES_BITS(@cf_cv_1UL@,20)
1152 #define A_TOP NCURSES_BITS(@cf_cv_1UL@,21)
1153 #define A_VERTICAL NCURSES_BITS(@cf_cv_1UL@,22)
1156 #define A_ITALIC NCURSES_BITS(@cf_cv_1UL@,23) /* ncurses extension */
1169 #define getyx(win,y,x) (y = getcury(win), x = getcurx(win))
1170 #define getbegyx(win,y,x) (y = getbegy(win), x = getbegx(win))
1171 #define getmaxyx(win,y,x) (y = getmaxy(win), x = getmaxx(win))
1172 #define getparyx(win,y,x) (y = getpary(win), x = getparx(win))
1174 #define getsyx(y,x) do { if (newscr) { \
1182 #define setsyx(y,x) do { if (newscr) { \
1198 #define wgetstr(w, s) wgetnstr(w, s, -1)
1199 #define getnstr(s, n) wgetnstr(stdscr, s, (n))
1201 #define setterm(term) setupterm(term, 1, (int *)0)
1203 #define fixterm() reset_prog_mode()
1204 #define resetterm() reset_shell_mode()
1205 #define saveterm() def_prog_mode()
1206 #define crmode() cbreak()
1207 #define nocrmode() nocbreak()
1208 #define gettmode()
1210 /* It seems older SYSV curses versions define these */
1212 #define getattrs(win) NCURSES_CAST(int, NCURSES_OK_ADDR(win) ? (win)->_attrs : A_NORMAL)
1213 #define getcurx(win) (NCURSES_OK_ADDR(win) ? (win)->_curx : ERR)
1214 #define getcury(win) (NCURSES_OK_ADDR(win) ? (win)->_cury : ERR)
1215 #define getbegx(win) (NCURSES_OK_ADDR(win) ? (win)->_begx : ERR)
1216 #define getbegy(win) (NCURSES_OK_ADDR(win) ? (win)->_begy : ERR)
1217 #define getmaxx(win) (NCURSES_OK_ADDR(win) ? ((win)->_maxx + 1) : ERR)
1218 #define getmaxy(win) (NCURSES_OK_ADDR(win) ? ((win)->_maxy + 1) : ERR)
1219 #define getparx(win) (NCURSES_OK_ADDR(win) ? (win)->_parx : ERR)
1220 #define getpary(win) (NCURSES_OK_ADDR(win) ? (win)->_pary : ERR)
1223 #define wstandout(win) (wattrset(win,A_STANDOUT))
1224 #define wstandend(win) (wattrset(win,A_NORMAL))
1226 #define wattron(win,at) wattr_on(win, NCURSES_CAST(attr_t, at), NULL)
1227 #define wattroff(win,at) wattr_off(win, NCURSES_CAST(attr_t, at), NULL)
1232 #define wattrset(win,at) \
1239 #define wattrset(win,at) \
1248 #define scroll(win) wscrl(win,1)
1250 #define touchwin(win) wtouchln((win), 0, getmaxy(win), 1)
1251 #define touchline(win, s, c) wtouchln((win), s, c, 1)
1252 #define untouchwin(win) wtouchln((win), 0, getmaxy(win), 0)
1254 #define box(win, v, h) wborder(win, v, v, h, h, 0, 0, 0, 0)
1255 #define border(ls, rs, ts, bs, tl, tr, bl, br) wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
1256 #define hline(ch, n) whline(stdscr, ch, (n))
1257 #define vline(ch, n) wvline(stdscr, ch, (n))
1259 #define winstr(w, s) winnstr(w, s, -1)
1260 #define winchstr(w, s) winchnstr(w, s, -1)
1261 #define winsstr(w, s) winsnstr(w, s, -1)
1264 #define redrawwin(win) wredrawln(win, 0, (NCURSES_OK_ADDR(win) ? (win)->_maxy+1 : -1))
1267 #define waddstr(win,str) waddnstr(win,str,-1)
1268 #define waddchstr(win,str) waddchnstr(win,str,-1)
1273 #define COLOR_PAIR(n) (NCURSES_BITS((n), 0) & A_COLOR)
1274 #define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,(a)) & A_COLOR) >> NCURSES_AT…
1280 #define addch(ch) waddch(stdscr,(ch))
1281 #define addchnstr(str,n) waddchnstr(stdscr,(str),(n))
1282 #define addchstr(str) waddchstr(stdscr,(str))
1283 #define addnstr(str,n) waddnstr(stdscr,(str),(n))
1284 #define addstr(str) waddnstr(stdscr,(str),-1)
1285 #define attr_get(ap,cp,o) wattr_get(stdscr,(ap),(cp),(o))
1286 #define attr_off(a,o) wattr_off(stdscr,(a),(o))
1287 #define attr_on(a,o) wattr_on(stdscr,(a),(o))
1288 #define attr_set(a,c,o) wattr_set(stdscr,(a),(c),(o))
1289 #define attroff(at) wattroff(stdscr,(at))
1290 #define attron(at) wattron(stdscr,(at))
1291 #define attrset(at) wattrset(stdscr,(at))
1292 #define bkgd(ch) wbkgd(stdscr,(ch))
1293 #define bkgdset(ch) wbkgdset(stdscr,(ch))
1294 #define chgat(n,a,c,o) wchgat(stdscr,(n),(a),(c),(o))
1295 #define clear() wclear(stdscr)
1296 #define clrtobot() wclrtobot(stdscr)
1297 #define clrtoeol() wclrtoeol(stdscr)
1298 #define color_set(c,o) wcolor_set(stdscr,(c),(o))
1299 #define delch() wdelch(stdscr)
1300 #define deleteln() winsdelln(stdscr,-1)
1301 #define echochar(c) wechochar(stdscr,(c))
1302 #define erase() werase(stdscr)
1303 #define getch() wgetch(stdscr)
1304 #define getstr(str) wgetstr(stdscr,(str))
1305 #define inch() winch(stdscr)
1306 #define inchnstr(s,n) winchnstr(stdscr,(s),(n))
1307 #define inchstr(s) winchstr(stdscr,(s))
1308 #define innstr(s,n) winnstr(stdscr,(s),(n))
1309 #define insch(c) winsch(stdscr,(c))
1310 #define insdelln(n) winsdelln(stdscr,(n))
1311 #define insertln() winsdelln(stdscr,1)
1312 #define insnstr(s,n) winsnstr(stdscr,(s),(n))
1313 #define insstr(s) winsstr(stdscr,(s))
1314 #define instr(s) winstr(stdscr,(s))
1315 #define move(y,x) wmove(stdscr,(y),(x))
1316 #define refresh() wrefresh(stdscr)
1317 #define scrl(n) wscrl(stdscr,(n))
1318 #define setscrreg(t,b) wsetscrreg(stdscr,(t),(b))
1319 #define standend() wstandend(stdscr)
1320 #define standout() wstandout(stdscr)
1321 #define timeout(delay) wtimeout(stdscr,(delay))
1322 #define wdeleteln(win) winsdelln(win,-1)
1323 #define winsertln(win) winsdelln(win,1)
1329 #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch)))
1330 #define mvwaddchnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : waddchnstr((win),(str),(n)…
1331 #define mvwaddchstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddchnstr((win),(str),-1))
1332 #define mvwaddnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),(n)))
1333 #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1))
1334 #define mvwchgat(win,y,x,n,a,c,o) (wmove((win),(y),(x)) == ERR ? ERR : wchgat((win),(n),(a),(c),(o)…
1335 #define mvwdelch(win,y,x) (wmove((win),(y),(x)) == ERR ? ERR : wdelch(win))
1336 #define mvwgetch(win,y,x) (wmove((win),(y),(x)) == ERR ? ERR : wgetch(win))
1337 #define mvwgetnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : wgetnstr((win),(str),(n)))
1338 #define mvwgetstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : wgetstr((win),(str)))
1339 #define mvwhline(win,y,x,c,n) (wmove((win),(y),(x)) == ERR ? ERR : whline((win),(c),(n)))
1340 #define mvwinch(win,y,x) (wmove((win),(y),(x)) == ERR ? NCURSES_CAST(chtype, ERR) : winch(win))
1341 #define mvwinchnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winchnstr((win),(s),(n)))
1342 #define mvwinchstr(win,y,x,s) (wmove((win),(y),(x)) == ERR ? ERR : winchstr((win),(s)))
1343 #define mvwinnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winnstr((win),(s),(n)))
1344 #define mvwinsch(win,y,x,c) (wmove((win),(y),(x)) == ERR ? ERR : winsch((win),(c)))
1345 #define mvwinsnstr(win,y,x,s,n) (wmove((win),(y),(x)) == ERR ? ERR : winsnstr((win),(s),(n)))
1346 #define mvwinsstr(win,y,x,s) (wmove((win),(y),(x)) == ERR ? ERR : winsstr((win),(s)))
1347 #define mvwinstr(win,y,x,s) (wmove((win),(y),(x)) == ERR ? ERR : winstr((win),(s)))
1348 #define mvwvline(win,y,x,c,n) (wmove((win),(y),(x)) == ERR ? ERR : wvline((win),(c),(n)))
1350 #define mvaddch(y,x,ch) mvwaddch(stdscr,(y),(x),(ch))
1351 #define mvaddchnstr(y,x,str,n) mvwaddchnstr(stdscr,(y),(x),(str),(n))
1352 #define mvaddchstr(y,x,str) mvwaddchstr(stdscr,(y),(x),(str))
1353 #define mvaddnstr(y,x,str,n) mvwaddnstr(stdscr,(y),(x),(str),(n))
1354 #define mvaddstr(y,x,str) mvwaddstr(stdscr,(y),(x),(str))
1355 #define mvchgat(y,x,n,a,c,o) mvwchgat(stdscr,(y),(x),(n),(a),(c),(o))
1356 #define mvdelch(y,x) mvwdelch(stdscr,(y),(x))
1357 #define mvgetch(y,x) mvwgetch(stdscr,(y),(x))
1358 #define mvgetnstr(y,x,str,n) mvwgetnstr(stdscr,(y),(x),(str),(n))
1359 #define mvgetstr(y,x,str) mvwgetstr(stdscr,(y),(x),(str))
1360 #define mvhline(y,x,c,n) mvwhline(stdscr,(y),(x),(c),(n))
1361 #define mvinch(y,x) mvwinch(stdscr,(y),(x))
1362 #define mvinchnstr(y,x,s,n) mvwinchnstr(stdscr,(y),(x),(s),(n))
1363 #define mvinchstr(y,x,s) mvwinchstr(stdscr,(y),(x),(s))
1364 #define mvinnstr(y,x,s,n) mvwinnstr(stdscr,(y),(x),(s),(n))
1365 #define mvinsch(y,x,c) mvwinsch(stdscr,(y),(x),(c))
1366 #define mvinsnstr(y,x,s,n) mvwinsnstr(stdscr,(y),(x),(s),(n))
1367 #define mvinsstr(y,x,s) mvwinsstr(stdscr,(y),(x),(s))
1368 #define mvinstr(y,x,s) mvwinstr(stdscr,(y),(x),(s))
1369 #define mvvline(y,x,c,n) mvwvline(stdscr,(y),(x),(c),(n))
1375 #define getbkgd(win) (NCURSES_OK_ADDR(win) ? ((win)->_bkgd) : 0)
1378 #define slk_attr_off(a,v) ((v) ? ERR : slk_attroff(a))
1379 #define slk_attr_on(a,v) ((v) ? ERR : slk_attron(a))
1384 #define wattr_set(win,a,p,opts) \
1390 #define wattr_get(win,a,p,opts) \
1404 #define wattr_set(win,a,p,opts) \
1410 #define wattr_get(win,a,p,opts) \
1430 /* define vw_printw vwprintw */
1431 /* define vw_scanw vwscanw */
1437 #define vsscanf(a,b,c) _nc_vsscanf(a,b,c)
1446 #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
1447 #define is_idcok(win) (NCURSES_OK_ADDR(win) ? (win)->_idcok : FALSE)
1448 #define is_idlok(win) (NCURSES_OK_ADDR(win) ? (win)->_idlok : FALSE)
1449 #define is_immedok(win) (NCURSES_OK_ADDR(win) ? (win)->_immed : FALSE)
1450 #define is_keypad(win) (NCURSES_OK_ADDR(win) ? (win)->_use_keypad : FALSE)
1451 #define is_leaveok(win) (NCURSES_OK_ADDR(win) ? (win)->_leaveok : FALSE)
1452 #define is_nodelay(win) (NCURSES_OK_ADDR(win) ? ((win)->_delay == 0) : FALSE)
1453 #define is_notimeout(win) (NCURSES_OK_ADDR(win) ? (win)->_notimeout : FALSE)
1454 #define is_pad(win) (NCURSES_OK_ADDR(win) ? ((win)->_flags & _ISPAD) != 0 : FALSE)
1455 #define is_scrollok(win) (NCURSES_OK_ADDR(win) ? (win)->_scroll : FALSE)
1456 #define is_subwin(win) (NCURSES_OK_ADDR(win) ? ((win)->_flags & _SUBWIN) != 0 : FALSE)
1457 #define is_syncok(win) (NCURSES_OK_ADDR(win) ? (win)->_sync : FALSE)
1458 #define wgetdelay(win) (NCURSES_OK_ADDR(win) ? (win)->_delay : 0)
1459 #define wgetparent(win) (NCURSES_OK_ADDR(win) ? (win)->_parent : 0)
1460 #define wgetscrreg(win,t,b) (NCURSES_OK_ADDR(win) ? (*(t) = (win)->_regtop, *(b) = (win)->_regbotto…
1468 #define is_linetouched(w,l) ((!(w) || ((l) > getmaxy(w)) || ((l) < 0)) ? ERR : (is_linetouched)((w)…
1476 * a. ESCDELAY was an undocumented feature under AIX curses.
1493 #define curscr NCURSES_PUBLIC_VAR(curscr())
1494 #define newscr NCURSES_PUBLIC_VAR(newscr())
1495 #define stdscr NCURSES_PUBLIC_VAR(stdscr())
1496 #define ttytype NCURSES_PUBLIC_VAR(ttytype())
1497 #define COLORS NCURSES_PUBLIC_VAR(COLORS())
1498 #define COLOR_PAIRS NCURSES_PUBLIC_VAR(COLOR_PAIRS())
1499 #define COLS NCURSES_PUBLIC_VAR(COLS())
1500 #define ESCDELAY NCURSES_PUBLIC_VAR(ESCDELAY())
1501 #define LINES NCURSES_PUBLIC_VAR(LINES())
1502 #define TABSIZE NCURSES_PUBLIC_VAR(TABSIZE())
1531 #define KEY_CODE_YES 0400 /* A wchar_t contains a key code */
1532 #define KEY_MIN 0401 /* Minimum curses key */
1533 #define KEY_BREAK 0401 /* Break key (unreliable) */
1534 #define KEY_SRESET 0530 /* Soft (partial) reset (unreliable) */
1535 #define KEY_RESET 0531 /* Reset or hard reset (unreliable) */