application/main.c

changeset 85
91f45354d1e2
parent 84
a56c2baa9429
child 86
3c63f57a8f77
equal deleted inserted replaced
84:a56c2baa9429 85:91f45354d1e2
115 ui_menuitem("item3", NULL, NULL); 115 ui_menuitem("item3", NULL, NULL);
116 ui_submenu_end(); 116 ui_submenu_end();
117 ui_menuitem("item4", NULL, NULL); 117 ui_menuitem("item4", NULL, NULL);
118 118
119 UiObject *obj = ui_window("Test", NULL); 119 UiObject *obj = ui_window("Test", NULL);
120 ui_layout_fill(obj, FALSE);
120 ui_hbox(obj); 121 ui_hbox(obj);
121 ui_button(obj, "HELLO", NULL, NULL); 122 ui_button(obj, "HELLO", NULL, NULL);
122 ui_button(obj, "WORLD", NULL, NULL); 123 ui_button(obj, "WORLD", NULL, NULL);
124 ui_layout_fill(obj, TRUE);
125 ui_button(obj, "BUTTON", NULL, NULL);
123 ui_end(obj); 126 ui_end(obj);
124 ui_button(obj, "Test1", action_button, NULL); 127 ui_button(obj, "Test1", action_button, NULL);
125 ui_button(obj, "Test2", action_button, NULL); 128 ui_button(obj, "Test2", action_button, NULL);
126 ui_button(obj, "Test3", action_button, NULL); 129 ui_button(obj, "Test3", action_button, NULL);
127 ui_button(obj, "Test4", action_button, NULL); 130 ui_button(obj, "Test4", action_button, NULL);

mercurial