#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#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);
obj->container = (UiContainer*)obj->widget;
return obj;
}