29 #pragma once |
29 #pragma once |
30 |
30 |
31 #define UIEXPORT extern "C" __declspec(dllexport) |
31 #define UIEXPORT extern "C" __declspec(dllexport) |
32 #include "../ui/toolkit.h" |
32 #include "../ui/toolkit.h" |
33 |
33 |
|
34 typedef void(*ui_eventfunc)(void*, void*); |
|
35 |
|
36 extern "C" void destroy_ui_window_wrapper(void* ptr); |
|
37 extern "C" void destroy_ui_widget_wrapper(void* ptr); |
|
38 |
|
39 void ui_context_add_window_destructor(UiContext* ctx, UiWindow *win); |
|
40 void ui_context_add_widget_destructor(UiContext* ctx, UiWidget* widget); |