|
C-Menu 0.2.9
A User Interface Toolkit
|
Menu data structures, enums, types, end external declarations. More...
#include <cm.h>Go to the source code of this file.
Data Structures | |
| struct | Line |
| The Line strutures are attached to the Menu main structure. More... | |
| struct | Menu |
| The Menu structure is the main data structure for the menu application, containing all the information about the menu, its lines, and its display properties. More... | |
Macros | |
| #define | MAX_MENU_LINES 256 /** Maximum number of menu lines in a menu */ |
Enumerations | |
| enum | { MT_NULL = 0x320 , MT_TEXT , MT_CHOICE } |
| enum | { MA_NEW = 350 , MA_RETURN , MA_DISPLAY_MENU , MA_RESET_MENU , MA_CONTINUE } |
| enum | { CT_NULL = 0x396 , CT_EXEC , CT_HELP , CT_ABOUT , CT_FORM , CT_FORM_EXEC , CT_FORM_WRITE , CT_MENU , CT_PICK , CT_VIEW , CT_CKEYS , CT_RETURN , CT_TOGGLE , CT_WRITE_CONFIG , CT_UNDEFINED } |
Functions | |
| unsigned int | get_command_type (char *) |
| Get command type from command string. | |
| void | free_menu_line (Line *) |
Variables | |
| Menu * | menu |
Menu data structures, enums, types, end external declarations.
Definition in file menu.h.
| anonymous enum |
| anonymous enum |
| anonymous enum |
| Enumerator | |
|---|---|
| CT_NULL | |
| CT_EXEC | |
| CT_HELP | |
| CT_ABOUT | |
| CT_FORM | |
| CT_FORM_EXEC | |
| CT_FORM_WRITE | |
| CT_MENU | |
| CT_PICK | |
| CT_VIEW | |
| CT_CKEYS | |
| CT_RETURN | |
| CT_TOGGLE | |
| CT_WRITE_CONFIG | |
| CT_UNDEFINED | |
Definition at line 28 of file menu.h.
|
extern |
|
extern |
Definition at line 45 of file mem.c.
Referenced by destroy_menu(), init_menu_files(), main(), new_menu(), and parse_menu_description().