| 39 |
|
|
| 40 |
struct menu_item_t |
struct menu_item_t |
| 41 |
{ |
{ |
| 42 |
int16_t row, col, r_row, r_col; |
int16_t row, col; |
| 43 |
char action[MAX_MENUACTION_LENGTH]; |
char action[MAX_MENUACTION_LENGTH]; |
| 44 |
MENU_ID action_menu_id; |
MENU_ID action_menu_id; |
| 45 |
int8_t submenu, display; |
int8_t submenu; |
| 46 |
int priv, level; |
int priv, level; |
| 47 |
char name[MAX_MENUNAME_LENGTH]; |
char name[MAX_MENUNAME_LENGTH]; |
| 48 |
char text[MAX_MENUITEM_LENGTH]; |
char text[MAX_MENUITEM_LENGTH]; |
| 94 |
MENU_ID menu_id_path[MAX_MENU_DEPTH]; |
MENU_ID menu_id_path[MAX_MENU_DEPTH]; |
| 95 |
int16_t menu_item_pos[MAX_MENU_DEPTH]; |
int16_t menu_item_pos[MAX_MENU_DEPTH]; |
| 96 |
int16_t choose_step; |
int16_t choose_step; |
| 97 |
|
int8_t menu_item_display[MAX_ITEMS_PER_MENU]; |
| 98 |
|
int16_t menu_item_r_row[MAX_ITEMS_PER_MENU]; |
| 99 |
|
int16_t menu_item_r_col[MAX_ITEMS_PER_MENU]; |
| 100 |
}; |
}; |
| 101 |
typedef struct menu_set_t MENU_SET; |
typedef struct menu_set_t MENU_SET; |
| 102 |
|
|