2024-02-11 19:59:33 +01:00
|
|
|
const std = @import("std");
|
|
|
|
|
2024-04-29 19:26:50 +02:00
|
|
|
pub const Vaxis = @import("Vaxis.zig");
|
|
|
|
pub const Loop = @import("Loop.zig").Loop;
|
2024-01-19 17:13:32 +01:00
|
|
|
|
2024-02-24 15:14:12 +01:00
|
|
|
pub const Queue = @import("queue.zig").Queue;
|
2024-01-19 03:17:26 +01:00
|
|
|
pub const Key = @import("Key.zig");
|
2024-02-11 19:59:33 +01:00
|
|
|
pub const Cell = @import("Cell.zig");
|
2024-03-01 19:28:48 +01:00
|
|
|
pub const Segment = Cell.Segment;
|
|
|
|
pub const PrintOptions = Window.PrintOptions;
|
2024-02-18 19:20:47 +01:00
|
|
|
pub const Style = Cell.Style;
|
2024-03-02 04:29:16 +01:00
|
|
|
pub const Color = Cell.Color;
|
2024-02-11 19:59:33 +01:00
|
|
|
pub const Image = @import("Image.zig");
|
2024-01-31 19:50:00 +01:00
|
|
|
pub const Mouse = @import("Mouse.zig");
|
2024-03-11 15:38:52 +01:00
|
|
|
pub const Screen = @import("Screen.zig");
|
2024-04-15 14:15:26 +02:00
|
|
|
pub const AllocatingScreen = @import("InternalScreen.zig");
|
2024-05-05 21:17:03 +02:00
|
|
|
pub const Parser = @import("Parser.zig");
|
|
|
|
pub const Tty = @import("Tty.zig");
|
2024-02-24 16:11:52 +01:00
|
|
|
pub const Window = @import("Window.zig");
|
2024-05-05 21:17:03 +02:00
|
|
|
pub const Winsize = Tty.Winsize;
|
2024-01-18 04:52:33 +01:00
|
|
|
|
2024-02-11 19:59:33 +01:00
|
|
|
pub const widgets = @import("widgets.zig");
|
2024-03-11 15:38:52 +01:00
|
|
|
pub const gwidth = @import("gwidth.zig");
|
2024-01-30 20:30:36 +01:00
|
|
|
|
2024-01-19 17:13:32 +01:00
|
|
|
/// Initialize a Vaxis application.
|
2024-04-29 20:01:04 +02:00
|
|
|
pub fn init(alloc: std.mem.Allocator, opts: Vaxis.Options) !Vaxis {
|
|
|
|
return Vaxis.init(alloc, opts);
|
2024-01-19 17:13:32 +01:00
|
|
|
}
|
|
|
|
|
2024-01-19 03:17:26 +01:00
|
|
|
test {
|
2024-02-11 19:59:33 +01:00
|
|
|
std.testing.refAllDecls(@This());
|
2024-04-30 16:02:32 +02:00
|
|
|
std.testing.refAllDecls(widgets);
|
2024-04-30 15:42:21 +02:00
|
|
|
_ = @import("Parser.zig");
|
2024-04-30 16:02:32 +02:00
|
|
|
_ = @import("Tty.zig");
|
2024-01-18 04:52:33 +01:00
|
|
|
}
|