1
2
3
4
5
6
7
8 #ifndef MENU_H
9 #define MENU_H
10
11 #include "../ui/menu.h"
12 #include "toolkit.h"
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 UI_IMPORT void __stdcall UImenu(
char *label);
19 UI_IMPORT void __stdcall UIsubmenu(
char *label);
20 UI_IMPORT void __stdcall UIsubmenu_end();
21 UI_IMPORT void __stdcall UImenuitem(
char *label, UIcallback f,
void *udata);
22
23
24
25 void ui_obj_callback(UiObject *obj, UiEventData *e);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif
32
33