application/main.c

changeset 89
9a7e4a335b2b
parent 88
04c81be1c5a0
child 90
2019fdbaadfd
equal deleted inserted replaced
88:04c81be1c5a0 89:9a7e4a335b2b
115 ui_submenu_end(); 115 ui_submenu_end();
116 ui_menuitem("item3", NULL, NULL); 116 ui_menuitem("item3", NULL, NULL);
117 ui_submenu_end(); 117 ui_submenu_end();
118 ui_menuitem("item4", NULL, NULL); 118 ui_menuitem("item4", NULL, NULL);
119 119
120 ui_toolitem("button1", "Test", action_button, NULL);
121 ui_toolitem("button2", "OK", action_button, NULL);
122 ui_toolbar_add_default("button1");
123 ui_toolbar_add_default("button2");
124
120 UiObject *obj = ui_window("Test", NULL); 125 UiObject *obj = ui_window("Test", NULL);
121 ui_textarea_nv(obj, "text"); 126 ui_textarea_nv(obj, "text");
122 ui_show(obj); 127 ui_show(obj);
123 ui_main(); 128 ui_main();
124 /* 129 /*

mercurial