diff options
Diffstat (limited to 'core/surface.zig')
| -rw-r--r-- | core/surface.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/surface.zig b/core/surface.zig index 653abd82..3ab9a933 100644 --- a/core/surface.zig +++ b/core/surface.zig @@ -151,6 +151,9 @@ pub const max_rail_ticks = 4096; /// it as a strip in gutter cell `x`, at its `level`'s place (sample A of /// the ruled design: each a third of a cell wide, half that of air between). pub const Lane = struct { x: u16, y: u16, level: u8, rgb: [3]u8 }; +/// Churn's strip on a rail (jj.railHeat): a pixel shell draws its row of +/// pane `owner`'s rail, beside the track, in `rgb`. +pub const Heat = struct { owner: u8, row: u16, rgb: [3]u8 }; pub const rail_tick_scale = 1024; pub const Chrome = struct { @@ -266,6 +269,9 @@ pub const Surface = struct { /// makes many a temporary Surface, and a safe build fills an array's /// `undefined` in each). lanes: std.ArrayList(Lane) = .empty, + /// Churn's strips by the scroll thumbs, for a pixel shell (in a + /// terminal the rail's cells), as `lanes`. + heat: std.ArrayList(Heat) = .empty, chrome: Chrome = .{}, cells: []Cell = &.{}, /// bar: draw an insert-style thin cursor instead of the block |
