Tue, 29 Oct 2024 11:52:01 +0100
improve window close handling
81 | 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); | |
82
0cdb8089a29f
added event handler for menus (WPF)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
81
diff
changeset
|
19 | UI_IMPORT void __stdcall UIsubmenu(char *label); |
0cdb8089a29f
added event handler for menus (WPF)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
81
diff
changeset
|
20 | UI_IMPORT void __stdcall UIsubmenu_end(); |
89
9a7e4a335b2b
added toolbar (WPF)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
82
diff
changeset
|
21 | UI_IMPORT void __stdcall UImenuitem(char *label, UIcallback f, void *udata); |
81 | 22 | |
23 | ||
82
0cdb8089a29f
added event handler for menus (WPF)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
81
diff
changeset
|
24 | |
89
9a7e4a335b2b
added toolbar (WPF)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
82
diff
changeset
|
25 | void ui_obj_callback(UiObject *obj, UiEventData *e); |
82
0cdb8089a29f
added event handler for menus (WPF)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
81
diff
changeset
|
26 | |
81 | 27 | #ifdef __cplusplus |
28 | } | |
29 | #endif | |
30 | ||
31 | #endif /* MENU_H */ | |
32 |