diff -r 5223de7979e2 -r d51e334c1439 application/main.c --- a/application/main.c Thu Aug 20 17:14:27 2015 +0200 +++ b/application/main.c Sat Oct 10 15:29:31 2015 +0200 @@ -64,16 +64,48 @@ UiObject *obj = ui_window("Test", NULL); - UiTabbedPane *docs = ui_tabbed_document_view(obj); - UiObject *tab; - tab = ui_document_tab(docs); - ui_textarea(tab, NULL); - tab = ui_document_tab(docs); - ui_textarea(tab, NULL); - tab = ui_document_tab(docs); - ui_textarea(tab, NULL); - tab = ui_document_tab(docs); - ui_textarea(tab, NULL); + ui_layout_fill(obj, FALSE); + ui_grid_sp(obj, 10, 2); + + ui_rlabel(obj, "Name"); + ui_textfield(obj, NULL); + ui_newline(obj); + + ui_rlabel(obj, "Email"); + ui_textfield(obj, NULL); + ui_button(obj, "OK", NULL, NULL); + ui_newline(obj); + + ui_checkbox(obj, "fuck", NULL); + ui_rlabel(obj, "FUCK"); + ui_newline(obj); + ui_checkbox(obj, "this", NULL); + ui_newline(obj); + ui_checkbox(obj, "shit", NULL); + ui_newline(obj); + + ui_label(obj, "Awesome Button"); + UIWIDGET button = ui_button(obj, "...", NULL, NULL); + + ui_end(obj); + + ui_checkbox(obj, "A", NULL); + ui_checkbox(obj, "B", NULL); + ui_checkbox(obj, "C", NULL); + ui_checkbox(obj, "D", NULL); + ui_checkbox(obj, "E", NULL); + ui_checkbox(obj, "F", NULL); + ui_space(obj); + + ui_separator(obj); + + ui_layout_fill(obj, FALSE); + ui_hbox(obj); + ui_button(obj, "Submit", NULL, NULL); + //ui_space(obj); + ui_button(obj, "Cancel", NULL, NULL); + ui_end(obj); + ui_show(obj); ui_main();