application/main.c

changeset 74
55718d4ed227
parent 73
473acef47ddd
child 75
efe2f65bea17
--- a/application/main.c	Wed Jan 21 16:02:30 2015 +0100
+++ b/application/main.c	Wed Jan 21 11:21:47 2015 +0100
@@ -133,14 +133,22 @@
     ui_list_append(list, p3);
     ui_list_append(list, p4);
     
+    ui_layout_fill(window, FALSE);
+    ui_grid(window);
+    ui_button(window, "Test", NULL, NULL);
+    ui_button(window, "Test", NULL, NULL);
+    ui_button(window, "Test", NULL, NULL);
+    ui_newline(window);
+    ui_textfield(window, NULL);
+    ui_end(window);
     ui_listview(window, list, (ui_model_getvalue_f)person_getvalue, action_activate, NULL);
-    ui_contextmenu(window);
-    ui_widget_menuitem(window, "OK", action_test, NULL);
-    ui_widget_menuitem(window, "1", action_test, NULL);
-    ui_widget_menuitem(window, "2", action_test, NULL);
-    ui_widget_menuitem(window, "3", action_test, NULL);
-    ui_widget_menuitem(window, "4", action_test, NULL);
-    ui_widget_menuitem_st(window, UI_STOCK_CLOSE, action_test, NULL);
+    //ui_contextmenu(window);
+    //ui_widget_menuitem(window, "OK", action_test, NULL);
+    //ui_widget_menuitem(window, "1", action_test, NULL);
+    //ui_widget_menuitem(window, "2", action_test, NULL);
+    //ui_widget_menuitem(window, "3", action_test, NULL);
+    //ui_widget_menuitem(window, "4", action_test, NULL);
+    //ui_widget_menuitem_st(window, UI_STOCK_CLOSE, action_test, NULL);
     
     
     ui_show(window);

mercurial