WIP: use viewport to allow sizes of scroll to extend further than renderable screen
This commit is contained in:
12
src/size.zig
12
src/size.zig
@@ -1,10 +1,10 @@
|
||||
pub const Size = @This();
|
||||
pub const Size = packed struct {
|
||||
anchor: Position = .{},
|
||||
cols: u16 = 0,
|
||||
rows: u16 = 0,
|
||||
};
|
||||
|
||||
pub const Position = struct {
|
||||
pub const Position = packed struct {
|
||||
col: u16 = 0,
|
||||
row: u16 = 0,
|
||||
};
|
||||
|
||||
anchor: Position = .{},
|
||||
cols: u16,
|
||||
rows: u16,
|
||||
|
||||
Reference in New Issue
Block a user