summaryrefslogtreecommitdiff
path: root/src/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface.zig')
-rw-r--r--src/surface.zig26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/surface.zig b/src/surface.zig
index 6e383841..998e3230 100644
--- a/src/surface.zig
+++ b/src/surface.zig
@@ -246,8 +246,7 @@ pub const Region = struct {
/// A notice's index in its pane's `notices`.
notice: u8 = 0,
/// A body's view: the first line it shows (a file's scroll, a
- /// terminal's grid offset), for what a pixel shell moves with the text
- /// (G13's parallax).
+ /// terminal's grid offset).
line: i32 = 0,
/// Cells the column-move rail takes off the right edge while it runs
/// there: layers and pixel shells stop short of them, the grid does not.
@@ -307,29 +306,6 @@ pub const Chrome = struct {
/// The scroll column's width, button and scrollbar alike, in pixels at
/// a 17px tagline (acme's 12 at its font); a pixel shell scales it.
rail_px: u8 = 12,
- /// The theme's ornament (colors.Decor), a pixel shell's alone: the dot
- /// grid on the page, the scroll track's checker, the tags' plaques
- /// (frame, shadow, the focused one's stripes) and the file name's shadow, each null when the theme has none, sizes
- /// in logical pixels. `name_ink` and `active_name_ink` are the file
- /// name's colours in a tag, which the shadow goes under.
- decor_dots: ?[3]u8 = null,
- decor_dot_alpha: u8 = 0,
- decor_dot_px: u8 = 22,
- decor_checker: ?[3]u8 = null,
- decor_checker_px: u8 = 3,
- decor_box_border: ?[3]u8 = null,
- decor_box_border_px: u8 = 2,
- decor_box_shadow: ?[3]u8 = null,
- decor_box_shadow_px: u8 = 5,
- decor_box_stripe: ?[3]u8 = null,
- decor_box_stripe_px: u8 = 2,
- decor_title: ?[3]u8 = null,
- decor_title_px: u8 = 2,
- name_ink: [3]u8 = .{ 0, 0, 0 },
- active_name_ink: [3]u8 = .{ 0, 0, 0 },
- /// A pixel shell's small effects: bit 3 the page pattern's parallax
- /// (G13, Parallax).
- fx: u8 = 0,
};
/// The canonical interface: what a frame of pardes IS. The tui shell writes