summaryrefslogtreecommitdiff
path: root/anim/src/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'anim/src/root.zig')
-rw-r--r--anim/src/root.zig11
1 files changed, 10 insertions, 1 deletions
diff --git a/anim/src/root.zig b/anim/src/root.zig
index dca9a60..fcdb572 100644
--- a/anim/src/root.zig
+++ b/anim/src/root.zig
@@ -63,6 +63,14 @@ pub const Caption = words.Caption;
pub const Label = words.Label;
pub const Veil = words.Veil;
pub const Legend = words.Legend;
+/// The column (design/README.md, "column (an experiment)"): beat by beat,
+/// the panes a beat is about on the left, its text beside them, the rest
+/// folded to their tags on the shelf (`column.zig`).
+const columns = @import("column.zig");
+pub const Column = columns.Column;
+pub const column = columns.column;
+/// A column pane's rows: what the column has left.
+pub const column_rest = columns.rest;
/// The page behind every scene: `pub const background = canim.background;`.
pub const background: u32 = theme.color.page;
@@ -334,7 +342,7 @@ pub fn context(s: *anim.Frame, cursor_: Cursor, options: Context.Options) Contex
.registers = add(s, Registers{ .cursor = at, .stage = stage, .syscalls = options.syscalls, .quiet = options.quiet, .moves = moves }),
.stack = add(s, Stack{ .cursor = at, .stage = stage }),
.backtrace = add(s, Backtrace{ .cursor = at, .stage = stage, .lens = options.backtrace }),
- .clock = add(s, Clock{ .cursor = at, .map = whole }),
+ .clock = add(s, Clock{ .cursor = at, .map = whole, .stage = stage }),
};
}
@@ -407,4 +415,5 @@ test {
_ = @import("syscalls.zig");
_ = objects;
_ = words;
+ _ = columns;
}