ui/common/menu.h

branch
newapi
changeset 207
93b9f502cb88
parent 175
2cb06c231057
child 208
f632bc0589ab
equal deleted inserted replaced
206:7ebc5a747c6f 207:93b9f502cb88
70 UiMenuItemI item; 70 UiMenuItemI item;
71 char *label; 71 char *label;
72 UiMenuItemI *items_begin; 72 UiMenuItemI *items_begin;
73 UiMenuItemI *items_end; 73 UiMenuItemI *items_end;
74 UiMenu *parent; 74 UiMenu *parent;
75 int end;
75 }; 76 };
76 77
77 struct UiMenuItem { 78 struct UiMenuItem {
78 UiMenuItemI item; 79 UiMenuItemI item;
79 ui_callback callback; 80 ui_callback callback;
117 const char *varname; 118 const char *varname;
118 }; 119 };
119 120
120 UiMenu* uic_get_menu_list(void); 121 UiMenu* uic_get_menu_list(void);
121 122
123 void uic_add_menu_to_stack(UiMenu* menu);
124
122 #ifdef __cplusplus 125 #ifdef __cplusplus
123 } 126 }
124 #endif 127 #endif
125 128
126 #endif /* UIC_MENU_H */ 129 #endif /* UIC_MENU_H */

mercurial