Testing new structure

This commit is contained in:
2025-11-20 16:57:14 +01:00
parent 1fbff7a0bc
commit e4110976cd
2 changed files with 15 additions and 5 deletions
+8 -2
View File
@@ -1,6 +1,12 @@
use osui::Node;
use osui::{Context, Node};
fn app(cx: &mut Context) -> Node {
// Hooks
// Event handlers
// cx.event(|e: &ClickEvent| {
// });
fn app() -> Node {
Box::new(|renderer| {
renderer.draw_text("Hello, World!", 0, 0).unwrap();
})