WIP: add Container type with corresponding Properties configuration

The configuration of the `Container` types is very much inspired by
[clay](https://github.com/nicbarker/clay).
This commit is contained in:
2025-02-01 01:05:56 +01:00
parent bdbe05c996
commit 1293cb065d
9 changed files with 361 additions and 142 deletions

View File

@@ -1,8 +1,8 @@
pub const Size = @This();
pub const Position = struct {
col: u16,
row: u16,
col: u16 = 0,
row: u16 = 0,
};
anchor: Position = .{},