add(view): View type for composing view modules
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 22s

This commit is contained in:
2025-01-14 01:14:55 +01:00
parent 817056cf8b
commit 3048b59e84
4 changed files with 183 additions and 48 deletions

View File

@@ -48,6 +48,7 @@ pub fn App(comptime E: type, comptime R: fn (comptime bool) type, comptime fulls
pub const Renderer = R(fullscreen);
pub const Layout = @import("layout.zig").Layout(Event, Renderer);
pub const Widget = @import("widget.zig").Widget(Event, Renderer);
pub const View = @import("view.zig").View(Event, Renderer);
queue: Queue(Event, 256) = .{},
thread: ?std.Thread = null,