application/main.c

branch
newapi
changeset 419
7d15cad351fc
parent 417
f0fee61a70be
child 420
28a5920bebe0
--- a/application/main.c	Sun Dec 15 22:16:12 2024 +0100
+++ b/application/main.c	Sun Dec 15 22:53:51 2024 +0100
@@ -564,6 +564,12 @@
         ui_menuitem(.label = "Test 1", .onclick = action_test);
         ui_menuitem(.label = "Test 2", .onclick = action_test);
         ui_menuitem(.label = "Test 3", .onclick = action_test);
+        ui_menu_toggleitem(.label = "Toggle 1");
+        ui_menu_toggleitem(.label = "Toggle 2");
+        ui_menu_radioitem(.label = "Radio 1", .varname = "menu_radio");
+        ui_menu_radioitem(.label = "Radio 2", .varname = "menu_radio");
+        ui_menu_radioitem(.label = "Radio 3", .varname = "menu_radio");
+        ui_menu_radioitem(.label = "Radio 4", .varname = "menu_radio");
     }
     
     ui_main();

mercurial