--- a/application/main.c Fri Mar 21 13:20:53 2014 +0100 +++ b/application/main.c Sat Mar 22 10:37:12 2014 +0100 @@ -85,6 +85,15 @@ ui_checkitem_nv("Check", "check1"); ui_menuitem("Close", action_close, NULL); + ui_toolitem_st("new", UI_STOCK_NEW, action_new, NULL); + ui_toolitem_st("open", UI_STOCK_OPEN, action_open, NULL); + ui_toolitem_st("close", UI_STOCK_CLOSE, action_close, NULL); + + ui_toolbar_add_default("new"); + ui_toolbar_add_default("open"); + ui_toolbar_add_default("close"); + + UiObject *window = ui_window("Mod0", NULL); TestWindowData *wdata = malloc(sizeof(TestWindowData)); window->window = wdata;