ui/wpf/toolkit.h

changeset 82
0cdb8089a29f
parent 78
135920fe441b
child 89
9a7e4a335b2b
equal deleted inserted replaced
81:5eb765a7a793 82:0cdb8089a29f
39 #endif 39 #endif
40 40
41 #define UI_IMPORT __declspec(dllimport) 41 #define UI_IMPORT __declspec(dllimport)
42 __declspec(dllimport) int __stdcall myfunc(char *str); 42 __declspec(dllimport) int __stdcall myfunc(char *str);
43 43
44 typedef struct UiEventData {
45 UiObject *obj;
46 ui_callback callback;
47 void *user_data;
48 int value;
49 } UiEventData;
50
44 UI_IMPORT void __stdcall UIinit(char *appname); 51 UI_IMPORT void __stdcall UIinit(char *appname);
45 UI_IMPORT void __stdcall UImain(); 52 UI_IMPORT void __stdcall UImain();
46 UI_IMPORT void __stdcall UIshow(UIWIDGET widget); 53 UI_IMPORT void __stdcall UIshow(UIWIDGET widget);
47 54
48 #ifdef __cplusplus 55 #ifdef __cplusplus

mercurial