Data Structures |
struct | ITEM |
| This is structure for individual item of structure MENU. More...
|
struct | MENU |
| This is structure for menu routines. More...
|
Defines |
#define | NOTSELECTED FALSE |
#define | SELECTED TRUE |
#define | SEPARATOR FALSE |
#define | REGULARITEM TRUE |
#define | OPTIONSTRLEN_MAX 50 |
| Definitons for maximal len for ``option'' in struct ``ITEM''. More...
|
#define | DESCSTRLEN_MAX 81 |
| Definitons for maximal len for ``desc'' in struct ``ITEM''. More...
|
#define | SHORTCUTSTRLEN_MAX 25 |
| Definitons for maximal len for ``shortcuts'' in struct ``MENU''. More...
|
Functions |
void | initmenu (struct MENU *menu, int lines, int cols, int y, int x, int use_shadow) |
| initmenu. More...
|
void | additem (struct MENU *menu, char *item, char *desc) |
| additem. More...
|
void | showitem (struct MENU *menu, struct ITEM *itemptr, int selected) |
| showitem. More...
|
void | showmenu (struct MENU *menu) |
| showmenu. More...
|
void | menumoveto (struct MENU *menu, struct ITEM **itemptr, unsigned int row) |
void | operatemenu (struct MENU *menu, int *row, int *aborted) |
| operatemenu. More...
|
void | hidemenu (struct MENU *menu) |
| hidemenu. More...
|
void | unhidemenu (struct MENU *menu) |
| unhidemenu. More...
|
void | destroymenu (struct MENU *menu) |
| destroymenu. More...
|
char * | menu_option_to_char (struct MENU *menu, int row) |
| menu_option_to_char. More...
|