summaryrefslogtreecommitdiff
path: root/src/surface.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 11:34:44 -0300
committerGabriel Schneider <[email protected]>2026-11-05 15:15:07 -0300
commit2bd4066a932ec8fc401e4b85e9f8441b17df3cfb (patch)
tree024f6180ed665fbe821e4a4a46e54551e6a0b31e /src/surface.zig
parent7ec1181244c039db72986eec46f21a9d5ac2e171 (diff)
downloadpardes-2bd4066a932ec8fc401e4b85e9f8441b17df3cfb.tar.gz
pardes-2bd4066a932ec8fc401e4b85e9f8441b17df3cfb.zip
effects out, Lift and InactiveDim: the core's per-pane lift springs (Pardes.lifts, lift_serials, Region.lift, Chrome.lift_style) and the unfocused panes' recede (draw.zig's dim, its contrast memo and linear blend) go with the words, their settings and tests; the window loses its soft shadows (addSoft, the lift and rim casting, the shadow a sliding pane cast, the contrast ceilings, decor.frag's Gaussian path) and Chrome.sel_fg and sel_bg, which only the ceilings read; a pane closed mid-lift left its spring unsettled and continuous() true for ever, so a window could never go idle (monkey-gui failed `never settled` in the Lift combinations, and passes now); GUI golden 18-mid-transition changes, its sliding pane casting no shadow (the scene leaves with the transitions); root_ctl's out-of-range case is SearchRows', settings' GUI-only case GripWidth's, the window monkey loses its Lift axis
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/surface.zig')
-rw-r--r--src/surface.zig9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/surface.zig b/src/surface.zig
index 3b05d5f9..367839d0 100644
--- a/src/surface.zig
+++ b/src/surface.zig
@@ -377,10 +377,6 @@ pub const Region = struct {
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
- /// focus (Lift, on a spring), a notice's while Lift is on. A pixel shell
- /// casts a soft shadow from it; the tier it is drawn in never changes.
- lift: f32 = 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).
@@ -420,11 +416,6 @@ pub const Chrome = struct {
/// A pane's places' ticks on its rail, and its current one's.
match_tick: [3]u8 = .{ 0, 0, 0 },
match_current: [3]u8 = .{ 0, 0, 0 },
- /// A selection's text and ground: a lift keeps their contrast too.
- sel_fg: [3]u8 = .{ 0, 0, 0 },
- sel_bg: [3]u8 = .{ 0, 0, 0 },
- /// How a lifted part stands off the page (config.Runtime.LiftStyle).
- lift_style: u8 = 0,
/// Rule width in pixels (colors.Theme.rule_px).
rule_px: u8 = 2,
/// The ring round a grip, acme's button: unfocused, and focused.