application/main.c

changeset 75
efe2f65bea17
parent 74
55718d4ed227
child 78
135920fe441b
equal deleted inserted replaced
74:55718d4ed227 75:efe2f65bea17
140 ui_button(window, "Test", NULL, NULL); 140 ui_button(window, "Test", NULL, NULL);
141 ui_newline(window); 141 ui_newline(window);
142 ui_textfield(window, NULL); 142 ui_textfield(window, NULL);
143 ui_end(window); 143 ui_end(window);
144 ui_listview(window, list, (ui_model_getvalue_f)person_getvalue, action_activate, NULL); 144 ui_listview(window, list, (ui_model_getvalue_f)person_getvalue, action_activate, NULL);
145 //ui_contextmenu(window); 145 ui_contextmenu(window);
146 //ui_widget_menuitem(window, "OK", action_test, NULL); 146 ui_widget_menuitem(window, "OK", action_test, NULL);
147 //ui_widget_menuitem(window, "1", action_test, NULL); 147 ui_widget_menuitem(window, "1", action_test, NULL);
148 //ui_widget_menuitem(window, "2", action_test, NULL); 148 ui_widget_menuitem(window, "2", action_test, NULL);
149 //ui_widget_menuitem(window, "3", action_test, NULL); 149 ui_widget_menuitem(window, "3", action_test, NULL);
150 //ui_widget_menuitem(window, "4", action_test, NULL); 150 ui_widget_menuitem(window, "4", action_test, NULL);
151 //ui_widget_menuitem_st(window, UI_STOCK_CLOSE, action_test, NULL); 151 ui_widget_menuitem_st(window, UI_STOCK_CLOSE, action_test, NULL);
152 152
153 153
154 ui_show(window); 154 ui_show(window);
155 ui_main(); 155 ui_main();
156 156

mercurial