application/main.c

branch
newapi
changeset 290
0dcf13ba5a78
parent 282
3a77b9048664
child 299
48763a9d19a7
equal deleted inserted replaced
289:6048b20bd46f 290:0dcf13ba5a78
100 char *str = elm; 100 char *str = elm;
101 return col == 0 ? str : "x"; 101 return col == 0 ? str : "x";
102 } 102 }
103 103
104 void application_startup(UiEvent *event, void *data) { 104 void application_startup(UiEvent *event, void *data) {
105 105
106 UiObject *obj = ui_window("Test", NULL); 106 UiObject *obj = ui_window("Test", NULL);
107 107
108 MyDocument *doc = create_doc(); 108 MyDocument *doc = create_doc();
109 ui_attach_document(obj->ctx, doc); 109 ui_attach_document(obj->ctx, doc);
110 110

mercurial