application/main.c

branch
newapi
changeset 419
7d15cad351fc
parent 417
f0fee61a70be
child 420
28a5920bebe0
equal deleted inserted replaced
418:a57268d20ed9 419:7d15cad351fc
562 // menu 562 // menu
563 ui_menu("File") { 563 ui_menu("File") {
564 ui_menuitem(.label = "Test 1", .onclick = action_test); 564 ui_menuitem(.label = "Test 1", .onclick = action_test);
565 ui_menuitem(.label = "Test 2", .onclick = action_test); 565 ui_menuitem(.label = "Test 2", .onclick = action_test);
566 ui_menuitem(.label = "Test 3", .onclick = action_test); 566 ui_menuitem(.label = "Test 3", .onclick = action_test);
567 ui_menu_toggleitem(.label = "Toggle 1");
568 ui_menu_toggleitem(.label = "Toggle 2");
569 ui_menu_radioitem(.label = "Radio 1", .varname = "menu_radio");
570 ui_menu_radioitem(.label = "Radio 2", .varname = "menu_radio");
571 ui_menu_radioitem(.label = "Radio 3", .varname = "menu_radio");
572 ui_menu_radioitem(.label = "Radio 4", .varname = "menu_radio");
567 } 573 }
568 574
569 ui_main(); 575 ui_main();
570 return (EXIT_SUCCESS); 576 return (EXIT_SUCCESS);
571 } 577 }

mercurial