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 |