| 1 /* |
|
| 2 * File: menu.h |
|
| 3 * Author: Olaf |
|
| 4 * |
|
| 5 * Created on 25. Januar 2015, 13:37 |
|
| 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 /* MENU_H */ |
|
| 32 |
|