30 #include "../common/context.h" |
30 #include "../common/context.h" |
31 |
31 |
32 #include "window.h" |
32 #include "window.h" |
33 #include "menu.h" |
33 #include "menu.h" |
34 #include "toolbar.h" |
34 #include "toolbar.h" |
|
35 #include "container.h" |
35 |
36 |
36 UiObject* ui_window(char *title, void *window_data) { |
37 UiObject* ui_window(char *title, void *window_data) { |
37 UcxMempool *mp = ucx_mempool_new(256); |
38 UcxMempool *mp = ucx_mempool_new(256); |
38 UiObject *obj = (UiObject*)ucx_mempool_calloc(mp, 1, sizeof(UiObject)); |
39 UiObject *obj = (UiObject*)ucx_mempool_calloc(mp, 1, sizeof(UiObject)); |
39 obj->ctx = uic_context(obj, mp); |
40 obj->ctx = uic_context(obj, mp); |