better tick system

This commit is contained in:
2024-11-03 09:22:53 +01:00
parent 7f5a8d9b0a
commit da7e293b3b
2 changed files with 40 additions and 101 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
use osui::{oml, ui::*, App};
use osui::{rsx, ui::*, App};
fn main() {
let mut app_screen = App::new();
app_screen.set_component(oml!(
button("okay";)
));
app_screen.set_component(rsx! {
button { "test" }
});
app_screen.run();
}