ui/motif/window.c

changeset 128
c284c15509a8
parent 113
500c085d2133
child 176
bc63cb601f6d
equal deleted inserted replaced
127:ce342364fad5 128:c284c15509a8
63 63
64 static UiObject* create_window(char *title, void *window_data, UiBool simple) { 64 static UiObject* create_window(char *title, void *window_data, UiBool simple) {
65 UcxMempool *mp = ucx_mempool_new(256); 65 UcxMempool *mp = ucx_mempool_new(256);
66 UiObject *obj = ucx_mempool_calloc(mp, 1, sizeof(UiObject)); 66 UiObject *obj = ucx_mempool_calloc(mp, 1, sizeof(UiObject));
67 obj->ctx = uic_context(obj, mp); 67 obj->ctx = uic_context(obj, mp);
68 obj->window = window_data;
68 69
69 Arg args[16]; 70 Arg args[16];
70 int n = 0; 71 int n = 0;
71 72
72 XtSetArg(args[0], XmNtitle, title); 73 XtSetArg(args[0], XmNtitle, title);

mercurial