feat: add libvaxis renderer
This commit is contained in:
parent
b15fa47f30
commit
1cd3cb17ce
32 changed files with 1559 additions and 516 deletions
14
src/renderer/vaxis/style.zig
Normal file
14
src/renderer/vaxis/style.zig
Normal file
|
@ -0,0 +1,14 @@
|
|||
pub const StyleBits = packed struct(u5) {
|
||||
struck: bool = false,
|
||||
bold: bool = false,
|
||||
undercurl: bool = false,
|
||||
underline: bool = false,
|
||||
italic: bool = false,
|
||||
|
||||
pub const struck: StyleBits = .{ .struck = true };
|
||||
pub const bold: StyleBits = .{ .bold = true };
|
||||
pub const undercurl: StyleBits = .{ .undercurl = true };
|
||||
pub const underline: StyleBits = .{ .underline = true };
|
||||
pub const italic: StyleBits = .{ .italic = true };
|
||||
pub const normal: StyleBits = .{};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue