get_elem now also pushes into the tree and check the correct type

This commit is contained in:
Alessandro Mauri 2025-07-01 16:03:11 +02:00
parent 849b267f91
commit c49a689304
8 changed files with 41 additions and 121 deletions

View file

@ -231,7 +231,7 @@ fn int main(String[] args)
ui.checkbox("", {}, &check)!!;
ui.toggle("", {}, &toggle)!!;
};
ui.draw_sprite("tux")!!;
ui.sprite("tux")!!;
static char[128] text_box = "ciao mamma";
static usz text_len = "ciao mamma".len;