--- a/application/main.c Wed Jan 21 20:38:21 2015 +0100 +++ b/application/main.c Sat Jan 24 19:14:29 2015 +0100 @@ -33,7 +33,7 @@ #include <ucx/buffer.h> #include <ucx/utils.h> - +/* typedef struct Person { char *name; char *mail; @@ -91,10 +91,15 @@ void action_test(UiEvent *event, void *data) { //ui_select_tab(tabview, 0); } - +*/ int main(int argc, char** argv) { ui_init("app1", argc, argv); - ui_locales_dir("/opt/app1/locales"); + + UiObject *obj = ui_window("Test", NULL); + ui_show(obj); + ui_main(); + /* + ui_locales_dir("/opt/app1/locales"); ui_load_lang_def(NULL, "en_EN"); //ui_openfilefunc(action_new, NULL); @@ -153,6 +158,6 @@ ui_show(window); ui_main(); - + */ return (EXIT_SUCCESS); }