diff -r bc0ed99e49c7 -r 135920fe441b ui/wpf/window.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/wpf/window.c Sat Jan 24 19:14:29 2015 +0100 @@ -0,0 +1,18 @@ +#include +#include +#include + +#include "../ui/window.h" +#include "../ui/properties.h" +#include "../common/context.h" + +#include "window.h" + +UiObject* ui_window(char *title, void *window_data) { + UcxMempool *mp = ucx_mempool_new(256); + UiObject *obj = ucx_mempool_calloc(mp, 1, sizeof(UiObject)); + obj->widget = UIwindow(title, obj); + obj->ctx = uic_context(obj, mp); + + return obj; +}