tick system

This commit is contained in:
2024-11-03 11:03:54 +01:00
parent da7e293b3b
commit 196c6094d2
5 changed files with 91 additions and 70 deletions
+5 -4
View File
@@ -1,9 +1,10 @@
use osui::{rsx, ui::*, App};
fn main() {
let mut app_screen = App::new();
app_screen.set_component(rsx! {
button { "test" }
});
let element = rsx! {
button { "Hello, World!" }
};
let mut app_screen = App::from(element);
app_screen.run();
}