curses updates
This commit is contained in:
@@ -177,7 +177,7 @@ extern void curses_create_nhmenu(winid wid);
|
|||||||
extern void curses_add_nhmenu_item(winid wid, int glyph,
|
extern void curses_add_nhmenu_item(winid wid, int glyph,
|
||||||
const ANY_P *identifier, CHAR_P accelerator,
|
const ANY_P *identifier, CHAR_P accelerator,
|
||||||
CHAR_P group_accel, int attr,
|
CHAR_P group_accel, int attr,
|
||||||
const char *str, BOOLEAN_P presel);
|
const char *str, unsigned itemflags);
|
||||||
extern void curs_menu_set_bottom_heavy(winid);
|
extern void curs_menu_set_bottom_heavy(winid);
|
||||||
extern void curses_finalize_nhmenu(winid wid, const char *prompt);
|
extern void curses_finalize_nhmenu(winid wid, const char *prompt);
|
||||||
extern int curses_display_nhmenu(winid wid, int how, MENU_ITEM_P **_selected);
|
extern int curses_display_nhmenu(winid wid, int how, MENU_ITEM_P **_selected);
|
||||||
|
|||||||
2
src/.gitignore
vendored
2
src/.gitignore
vendored
@@ -11,3 +11,5 @@ tiles.bmp
|
|||||||
graphicschk
|
graphicschk
|
||||||
nhdat
|
nhdat
|
||||||
o
|
o
|
||||||
|
nhdat370
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ typedef struct nhmi {
|
|||||||
const char *str; /* Text of menu item */
|
const char *str; /* Text of menu item */
|
||||||
BOOLEAN_P presel; /* Whether menu item should be preselected */
|
BOOLEAN_P presel; /* Whether menu item should be preselected */
|
||||||
boolean selected; /* Whether item is currently selected */
|
boolean selected; /* Whether item is currently selected */
|
||||||
|
unsigned itemflags;
|
||||||
int page_num; /* Display page number for entry */
|
int page_num; /* Display page number for entry */
|
||||||
int line_num; /* Line number on page where entry begins */
|
int line_num; /* Line number on page where entry begins */
|
||||||
int num_lines; /* Number of lines entry uses on page */
|
int num_lines; /* Number of lines entry uses on page */
|
||||||
|
|||||||
Reference in New Issue
Block a user