diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-11 12:49:15 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-11 13:22:07 -0300 |
| commit | 576a78b4de02c4c6566c327d85c465554d293975 (patch) | |
| tree | ea9df8139a511768480696712495d62533e048b3 /design/mock/context.py | |
| parent | 4c7dcadeddaa50fb52fd44a2cc71df1f570e092a (diff) | |
| download | computeranim-576a78b4de02c4c6566c327d85c465554d293975.tar.gz computeranim-576a78b4de02c4c6566c327d85c465554d293975.zip | |
design: the overflow as bytes; a minimap in each pane
From the user. In the pair a frame is a dump of eight bytes a row read
by its own fields, so each turn of the loop is one more letter and the
letters are seen to cross from buf into the saved rbp and the return
address, which reads as code until they reach it. Each pane with more
than it shows carries its own minimap, a strip of its column of the map
at four units a row with the pane's window outlined and what happens off
the window marked there; the corner minimap is gone, and in the dive
each column of the map folds into its pane's strip.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'design/mock/context.py')
| -rw-r--r-- | design/mock/context.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/design/mock/context.py b/design/mock/context.py index d58683c..31a54f6 100644 --- a/design/mock/context.py +++ b/design/mock/context.py @@ -98,8 +98,13 @@ def held_cell(g, x, y, w, h, k=1): g.rect(x, y + h - 3 * k, w, 3 * k, mix(VERM, PAGE, 0.6)) +MINIMAP = 0 # a pane with its own minimap: the frame this much wider than its content + + def tag(g, x, y, w, h, title, focus=False, note=None): - """A panel's frame and its one-row tag. note: a string, or runs (text, ink, underlined) for a legend.""" + """A panel's frame and its one-row tag. note: a string, or runs (text, ink, underlined) for a legend. The frame + is MINIMAP wider than w: the pane's minimap strip is drawn in it, right of the content (map.py).""" + w += MINIMAP g.rect(x, y, w, TAG, RAISED) g.frame(x, y, w, h, DIM if focus else RULE, 2) if focus: |
