better checkboxes

This commit is contained in:
Alessandro Mauri 2025-07-01 15:28:08 +02:00
parent 586e81935c
commit 1de4fd78b8
4 changed files with 15 additions and 13 deletions

View file

@ -228,6 +228,7 @@ fn int main(String[] args)
ui.layout_next_row()!!;
static bool check;
ui.checkbox("", {}, &check, "tick")!!;
ui.checkbox("", {}, &check)!!;
ui.toggle("", {}, &toggle)!!;
};
ui.draw_sprite("tux")!!;