make/vs/testapp/main.c

branch
newapi
changeset 213
7e39db525fd9
parent 211
5d71a36b833b
child 214
279c0c81d3b1
equal deleted inserted replaced
212:ad5c74af14c4 213:7e39db525fd9
273 } 273 }
274 274
275 ui_menuitem(.label = "Exit"); 275 ui_menuitem(.label = "Exit");
276 } 276 }
277 277
278 ui_toolbar_item("Test", .label = "Test", .onclick = action_toolbar_button); 278 ui_toolbar_item("Test", .label = "Home", .icon = "Home", .onclick = action_toolbar_button);
279 ui_toolbar_toggleitem("Toggle", .label = "Toggle", .onchange = action_toolbar_button); 279 ui_toolbar_toggleitem("Toggle", .label = "Toggle", .onchange = action_toolbar_button);
280 ui_toolbar_toggleitem("Toggle2", .label = "Toggle2", .onchange = action_toolbar_button); 280 ui_toolbar_toggleitem("Toggle2", .label = "Toggle2", .onchange = action_toolbar_button);
281 ui_toolbar_toggleitem("Toggle3", .label = "Toggle3", .onchange = action_toolbar_button); 281 ui_toolbar_toggleitem("Toggle3", .label = "Toggle3", .onchange = action_toolbar_button);
282 282
283 ui_toolbar_menu("Menu", .label = "Menu") { 283 ui_toolbar_menu("Menu", .label = "Menu") {

mercurial