From 5922ee911b9a6604f60dc83be36ba9e6c9abac98 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 02:11:12 -0300 Subject: canim: what the second review found, fixed A system call stepped over plays in order: the registers set, the crossing from the call row with the kernel's window under it, the stores after rax. A strike covers the bytes that changed. The band's view changes with the argument framing. In the descent a callee sits under its caller's return row, and rows fade before others glide. The heap scene follows the storyboard's nine captions: pushes at a run without marks, each free and the malloc that takes the head back walked, the tcache's loupe over the stack and closed with each advance, a chunk in neither list drawn, the freed node travelling to malloc's row. In the dive the map falls into the corner and becomes the minimap; on the map boxes are as long as their rows. A narrow read is shown at its width. The chart checks captions and one-frame changes. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/src/ui.zig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'anim/src/ui.zig') diff --git a/anim/src/ui.zig b/anim/src/ui.zig index cf12914..d770e05 100644 --- a/anim/src/ui.zig +++ b/anim/src/ui.zig @@ -247,6 +247,13 @@ pub const Ui = struct { return u.panelChrome(w, h, title, options.focus, options.note, options.legend); } + /// A tag's `note`, ranged right, drawn apart from its panel: for one + /// that crossfades with another. + pub fn tagNote(u: Ui, w: f32, note: []const u8) void { + const micro = theme.size.sans.micro; + u.text(.sans, micro, w - 10 - u.width(.sans, micro, note), theme.metric.context.tag - 6, note, theme.color.text.faint); + } + fn panelChrome(u: Ui, w: f32, h: f32, title: []const u8, focus: bool, note: []const u8, legend: []const Legend) Rect { const options = .{ .focus = focus, .note = note, .legend = legend }; const m = theme.metric.context; -- cgit v1.3