diff options
Diffstat (limited to 'src/surface.zig')
| -rw-r--r-- | src/surface.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/surface.zig b/src/surface.zig index 9333a75e..a5dbea8e 100644 --- a/src/surface.zig +++ b/src/surface.zig @@ -301,9 +301,11 @@ pub const Chrome = struct { /// The canonical interface: what a frame of pardes IS. The tui shell writes /// these cells to vaxis one-to-one; the SDL shells rasterize them. pub const Surface = struct { + pub const GpuFrame = struct { bytes: []const u8, serial: u32, dst: RectCell }; /// `box` is acme's boxcursor, shown while a pane or a column is carried /// by its grip (cols.c:485, rows.c:151). pub const PointerShape = enum(u8) { arrow, link, target, box }; + gpu_frames: [MAX_PANES]?GpuFrame = @splat(null), pointer_shape: PointerShape = .arrow, body_layers: [MAX_PANES]Layer = @splat(.{}), tag_layers: [MAX_TAG_LAYERS]Layer = @splat(.{}), |
