Simple renderer

This commit is contained in:
2026-01-24 14:17:05 +01:00
parent 0515087f0d
commit 979af999e4
3 changed files with 43 additions and 25 deletions
+1 -1
View File
@@ -34,6 +34,6 @@ fn app(cx: &Arc<Context>) -> View {
});
Arc::new(move |ctx| {
println!("Count: {count}, size: {:?}", ctx.available);
ctx.draw_text(Point { x: 0, y: 0 }, &format!("Count: {count}"));
})
}