runtime hooks

This commit is contained in:
David Allemang
2024-07-10 13:06:44 -04:00
parent e297865e93
commit fd1bd9dbf5
6 changed files with 138 additions and 51 deletions

View File

@@ -9,9 +9,13 @@ pub fn init(alloc: std.mem.Allocator) !void {
_ = alloc;
}
pub fn connect() !void {
try ImGui.hooks.frame.register(nu_imgui_frame);
}
pub fn deinit() void {}
pub fn nu_frame() void {}
// pub fn nu_frame() void {}
// pub fn nu_events(events: []const Bus.Event) void {
// std.debug.print("{any}\n", .{events});