Go to the documentation of this file.
21 #include <sys/types.h>
32 # define gettext(Msgid) ((const char *) (Msgid))
48 #if defined(NCURSES_VERSION) && defined(_NEED_WRAP) && !defined(GCC_PRINTFLIKE)
56 #define TR(params) _tracef params
61 #define BUF_SIZE (10*1024)
62 #define MIN(x,y) (x < y ? x : y)
63 #define MAX(x,y) (x > y ? x : y)
66 #define ACS_ULCORNER '+'
69 #define ACS_LLCORNER '+'
72 #define ACS_URCORNER '+'
75 #define ACS_LRCORNER '+'
90 #define ACS_UARROW '^'
93 #define ACS_DARROW 'v'
97 #define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
165 #define MAXITEMSTR 200
189 #define item_foreach() \
190 for (item_cur = item_head ? item_head: item_cur; \
191 item_cur && (item_cur != &item_nil); item_cur = item_cur->next)
209 int first_alpha(
const char *
string,
const char *exempt);
217 int dialog_textbox(
const char *title,
char *tbuf,
int initial_height,
218 int initial_width,
int *keys,
int *_vscroll,
int *_hscroll,
220 int dialog_menu(
const char *title,
const char *prompt,
221 const void *selected,
int *s_scroll);
223 int width,
int list_height);
237 #define M_EVENT (KEY_MAX+1)