summaryrefslogtreecommitdiff
path: root/src/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface.zig')
-rw-r--r--src/surface.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/surface.zig b/src/surface.zig
index f7cc6010..e67cf21c 100644
--- a/src/surface.zig
+++ b/src/surface.zig
@@ -368,6 +368,11 @@ pub const Region = struct {
/// regions once render has returned.
thumb_y: u16 = 0,
thumb_h: u16 = 0,
+ /// The same thumb unrounded, for a pixel shell: its top and its length
+ /// as fractions of the track (the length before any minimum, so one
+ /// row of the content is `thumb_span / rect.h`). Zero when unmeasured.
+ thumb_at: f32 = 0,
+ thumb_span: f32 = 0,
/// A notice's index in its pane's `notices`.
notice: u8 = 0,
/// How far it stands off the page, 0 to 1: a pane's while it has the