application/main.c

changeset 46
4a5e0b9b6992
parent 45
cfeb2d5f1332
child 49
a80ba8741be6
--- a/application/main.c	Sat May 17 10:48:59 2014 +0200
+++ b/application/main.c	Sat May 17 10:53:57 2014 +0200
@@ -88,9 +88,9 @@
     Person *p2 = ui_malloc(window->ctx, sizeof(Person));
     Person *p3 = ui_malloc(window->ctx, sizeof(Person));
     Person *p4 = ui_malloc(window->ctx, sizeof(Person));
-    p1->name = "Some Name";
+    p1->name = "Some Näme";
     p1->mail = "mail@host.com";
-    p2->name = "Other Person";
+    p2->name = "押井守";
     p2->mail = "other.person@provider.com";
     p3->name = "My Self";
     p3->mail = "my@self.org";
@@ -100,27 +100,9 @@
     ui_list_append(list, p2);
     ui_list_append(list, p3);
     ui_list_append(list, p4);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
-    ui_list_append(list, p1);
     
     ui_table(window, list, model);
-    
+    //ui_textarea(window, NULL);
     
     ui_show(window);
     ui_main();

mercurial