summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 23:16:11 -0300
committerGabriel Schneider <[email protected]>2026-10-25 01:30:09 -0300
commit706b9d98fdce29a58ffe5a8a5417d6b2810e6d2c (patch)
tree1367ad33c41891dc89a7507b156660e0694e5a29 /src/pardes.zig
parent6e8a6a63d45b2caef7b649d358f836e6cc4134d6 (diff)
downloadpardes-706b9d98fdce29a58ffe5a8a5417d6b2810e6d2c.tar.gz
pardes-706b9d98fdce29a58ffe5a8a5417d6b2810e6d2c.zip
anim 12: the tty runs the GUI's motion system: the view's glide moves to src/glide.zig (Glide, its step: find the view that moved, snapshot, measure, kick), the GUI keeps only its wheel notches and its pixel draw; the tty steps it each loop and draws it at whole rows (glide.shifted: the position rounded, never the step, the rows that left in the gap, a caret whose line rode the scroll carried with it, one that kept its row left still); rows that only disagree glide the core's lines instead of snapping; the snapshot harness's virtual clock runs a frame a wake while it moves
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 829a7bfd..a1d1eef8 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -1,6 +1,7 @@
const std = @import("std");
pub const layout = @import("layout.zig");
pub const animation = @import("animation.zig");
+pub const glide = @import("glide.zig");
pub const FrameStats = @import("FrameStats.zig");
pub const Presentation = @import("Presentation.zig");
const uucode = @import("uucode");
@@ -483,6 +484,7 @@ test {
_ = @import("Pipe.zig");
_ = @import("colors.zig");
_ = @import("surface.zig");
+ _ = @import("glide.zig");
_ = @import("body_layer.zig");
_ = @import("draw.zig");
_ = @import("dump.zig"); // its tests ran nowhere before