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); |