2024-01-19 17:13:32 +01:00
|
|
|
pub const Vaxis = @import("vaxis.zig").Vaxis;
|
|
|
|
pub const Options = @import("Options.zig");
|
|
|
|
|
2024-01-19 18:30:00 +01:00
|
|
|
const cell = @import("cell.zig");
|
|
|
|
pub const Cell = cell.Cell;
|
2024-01-22 18:19:28 +01:00
|
|
|
pub const Style = cell.Style;
|
2024-02-01 02:13:56 +01:00
|
|
|
pub const Segment = cell.Segment;
|
2024-02-02 23:22:26 +01:00
|
|
|
pub const Color = cell.Color;
|
2024-01-19 18:30:00 +01:00
|
|
|
|
2024-01-19 03:17:26 +01:00
|
|
|
pub const Key = @import("Key.zig");
|
2024-01-31 19:50:00 +01:00
|
|
|
pub const Mouse = @import("Mouse.zig");
|
2024-01-19 06:17:57 +01:00
|
|
|
pub const Winsize = @import("Tty.zig").Winsize;
|
2024-01-18 04:52:33 +01:00
|
|
|
|
2024-01-22 02:12:46 +01:00
|
|
|
pub const widgets = @import("widgets/main.zig");
|
2024-01-31 03:51:54 +01:00
|
|
|
pub const alignment = widgets.alignment;
|
|
|
|
pub const border = widgets.border;
|
2024-01-22 02:12:46 +01:00
|
|
|
|
2024-01-30 23:26:35 +01:00
|
|
|
pub const Image = @import("Image.zig");
|
2024-01-30 20:30:36 +01:00
|
|
|
|
2024-01-19 17:13:32 +01:00
|
|
|
/// Initialize a Vaxis application.
|
|
|
|
pub fn init(comptime EventType: type, opts: Options) !Vaxis(EventType) {
|
|
|
|
return Vaxis(EventType).init(opts);
|
|
|
|
}
|
|
|
|
|
2024-01-19 03:17:26 +01:00
|
|
|
test {
|
2024-01-22 00:54:44 +01:00
|
|
|
_ = @import("GraphemeCache.zig");
|
2024-01-19 03:17:26 +01:00
|
|
|
_ = @import("Key.zig");
|
2024-01-24 20:36:24 +01:00
|
|
|
_ = @import("Mouse.zig");
|
2024-01-19 17:13:32 +01:00
|
|
|
_ = @import("Options.zig");
|
2024-01-23 20:25:31 +01:00
|
|
|
_ = @import("Parser.zig");
|
2024-01-19 13:45:44 +01:00
|
|
|
_ = @import("Screen.zig");
|
2024-01-19 03:17:26 +01:00
|
|
|
_ = @import("Tty.zig");
|
2024-01-19 13:45:44 +01:00
|
|
|
_ = @import("Window.zig");
|
|
|
|
_ = @import("cell.zig");
|
2024-01-19 17:41:22 +01:00
|
|
|
_ = @import("ctlseqs.zig");
|
2024-01-21 19:47:34 +01:00
|
|
|
_ = @import("event.zig");
|
2024-01-24 04:06:02 +01:00
|
|
|
_ = @import("gwidth.zig");
|
2024-01-18 23:16:21 +01:00
|
|
|
_ = @import("queue.zig");
|
2024-01-19 17:13:32 +01:00
|
|
|
_ = @import("vaxis.zig");
|
2024-01-18 04:52:33 +01:00
|
|
|
}
|