updated a few things

This commit is contained in:
2024-11-17 17:01:48 +01:00
parent 74767cf961
commit aa9d68f16f
11 changed files with 325 additions and 277 deletions
+8 -2
View File
@@ -1,5 +1,11 @@
use osui::{app::run, rsx_elem, ui::text};
use osui::{app::run, rsx, ui::*, Element};
fn main() {
run(&mut rsx_elem! { text { "Hello, World!" } });
while run(&mut app()) {}
}
fn app() -> Box<dyn Element> {
rsx! {
text { "Hello, World!" }
}
}