diff -r ee49d1852a5f -r 8a4451fcb736 application/main.c --- a/application/main.c Sun Jul 01 19:03:26 2018 +0200 +++ b/application/main.c Fri Nov 09 15:43:46 2018 +0100 @@ -97,26 +97,26 @@ Document *doc = ui_document_new(sizeof(Document)); UiContext *ctx = ui_document_context(doc); - doc->text = ui_text_new(ctx, "text"); + //doc->text = ui_text_new(ctx, "text"); doc->t1 = ui_string_new(ctx, "t1"); - doc->t2 = ui_string_new(ctx, "t2"); - doc->t3 = ui_string_new(ctx, "t3"); + //doc->t2 = ui_string_new(ctx, "t2"); + //doc->t3 = ui_string_new(ctx, "t3"); - doc->i = ui_int_new(ctx, "int"); - doc->d = ui_double_new(ctx, "d"); - doc->r = ui_range_new(ctx, "r"); + //doc->i = ui_int_new(ctx, "int"); + //doc->d = ui_double_new(ctx, "d"); + //->r = ui_range_new(ctx, "r"); - doc->progress = ui_double_new(ctx, "progress"); + //doc->progress = ui_double_new(ctx, "progress"); - doc->list = ui_list_new(ctx, "list"); + //doc->list = ui_list_new(ctx, "list"); Entry *e1 = calloc(1, sizeof(Entry)); e1->name = "test"; e1->desc = "test file"; Entry *e2 = calloc(1, sizeof(Entry)); e2->name = str; e2->desc = "important document"; - ui_list_append(doc->list, e1); - ui_list_append(doc->list, e2); + //ui_list_append(doc->list, e1); + //ui_list_append(doc->list, e2); return doc; }