ui/winui/toolkit.h

branch
newapi
changeset 184
8c9b4b28aaa9
parent 181
c52d88ea020b
child 189
4daddc326877
equal deleted inserted replaced
183:3ce2eb11913b 184:8c9b4b28aaa9
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);

mercurial