summaryrefslogtreecommitdiff
path: root/anim/scenes/gallery.zig
diff options
context:
space:
mode:
Diffstat (limited to 'anim/scenes/gallery.zig')
-rw-r--r--anim/scenes/gallery.zig10
1 files changed, 7 insertions, 3 deletions
diff --git a/anim/scenes/gallery.zig b/anim/scenes/gallery.zig
index 12a592f..3b66a24 100644
--- a/anim/scenes/gallery.zig
+++ b/anim/scenes/gallery.zig
@@ -74,13 +74,17 @@ fn atoms(u: ui.Ui, p: *const Pages) void {
// value
y = 196;
title(u, 64, y, "value");
- note(u, 200, y, "digit, small number, large number, small negative, string, unknown");
+ note(u, 200, y, "digit, small number, large number, small negative, string, unknown; by a signature or a type: fd, bool, char");
y += 12;
x = 64;
for ([_]u64{ 4, 0x21, 0x8dea2ff80214, std.math.maxInt(u64) }) |v| x = u.value(x, rows.baseline(y), v, false, .{}) + 60;
u.text(.mono, theme.size.mono.context, x, rows.baseline(y), "\"./list\"", theme.color.string);
x += 140;
u.unknown(.{ .x = x, .y = y, .w = 24, .h = row });
+ x += 84;
+ x = u.typed(x, rows.baseline(y), 3, .{ .fd = "\"note\"" }, .{}) + 60;
+ x = u.typed(x, rows.baseline(y), 1, .boolean, .{}) + 60;
+ _ = u.typed(x, rows.baseline(y), 'A', .character, .{});
// arrow
y = 270;
@@ -242,8 +246,8 @@ fn rowsPage(u: ui.Ui, p: *const Pages) void {
note(u, 140, y, "row, in a backtrace");
y += 12;
panel = u.moved(64, y);
- rows.callRow(panel, 0, 880, 0, "reverse+225", "list.c:22", true);
- rows.callRow(panel, row, 880, 1, "main+42", "", false);
+ rows.callRow(panel, 0, 880, 0, "reverse+225", "", "list.c:22", true);
+ rows.callRow(panel, row, 880, 1, "main+42", "", "list.c:40", false);
y = 600;
title(u, 64, y, "line");