diff options
Diffstat (limited to 'core/surface.zig')
| -rw-r--r-- | core/surface.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/surface.zig b/core/surface.zig index 7c04a387..b78b58de 100644 --- a/core/surface.zig +++ b/core/surface.zig @@ -119,6 +119,9 @@ pub const Region = struct { active: bool = false, /// A grip's pane has changes it has not saved. dirty: bool = false, + /// A grip's or a tag's pane reads (Trail.reading): its tag's ground is + /// the reading tint (`Chrome.tag_reading_bg`), focused or not. + reading: bool = false, /// A rail's thumb: rows from the rail's top, and how many. Zero rows is /// a rail with no thumb (an image). A kind's thumb is where its paint /// said its window is (`pa_paint.at`, `span`: a PDF's strip), filled in @@ -188,6 +191,8 @@ pub const Chrome = struct { tagline_rows: u16 = 0, /// The focused pane's and column's tag underlay. tag_focus_bg: [3]u8 = .{ 0, 0, 0 }, + /// A reading pane's tag underlay (Region.reading). + tag_reading_bg: [3]u8 = .{ 0, 0, 0 }, tag_fg: [3]u8 = .{ 0, 0, 0 }, scroll_track: [3]u8 = .{ 0, 0, 0 }, scroll_thumb: [3]u8 = .{ 0, 0, 0 }, |
