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