feat: add spacer widget
This commit is contained in:
parent
bff019e26e
commit
b115d55097
2 changed files with 44 additions and 0 deletions
|
@ -12,6 +12,7 @@ const widgets = std.static_string_map.StaticStringMap(create_fn).initComptime(.{
|
|||
.{ "modifiers", @import("modstate.zig").create },
|
||||
.{ "keystate", @import("keystate.zig").create },
|
||||
.{ "expander", @import("expander.zig").create },
|
||||
.{ "spacer", @import("spacer.zig").create },
|
||||
});
|
||||
pub const CreateError = error{ OutOfMemory, Exit };
|
||||
const create_fn = *const fn (a: std.mem.Allocator, parent: Plane, event_handler: ?Widget.EventHandler) CreateError!Widget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue