diff options
| author | user <user@clank> | 2026-08-15 23:41:12 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-15 23:41:12 +0200 |
| commit | c7498912d52b204e80086d2b6a93f27c7d87ebab (patch) | |
| tree | 806d0363b027bafcad184f4d0a3790320952a94c /src/expr.c | |
| parent | sl0ppty: one family of marks for the frame's buttons (diff) | |
| download | slosh-c7498912d52b204e80086d2b6a93f27c7d87ebab.tar.gz slosh-c7498912d52b204e80086d2b6a93f27c7d87ebab.tar.xz slosh-c7498912d52b204e80086d2b6a93f27c7d87ebab.zip | |
sl0ppty: marks a font actually draws at cell size
▬ □ ✕ away, bigger, gone
▬ ■ ✕ ...and while it is already filling the tab
The boxed operators of the commit before this (⊞ ⊟ ⊡ ⊠) were one tidy
family and unreadable with it. They are *math* symbols, sized to sit
beside x and y in an equation, so at a terminal's cell size the interior
that carried the whole meaning -- the minus, the plus, the dot -- was two
or three pixels of it. Four identical smudges.
Geometric shapes and dingbats are drawn at full cell size, which is what
makes them readable at all, so legibility wins over uniformity here: four
different shapes, one verb each. Picking glyphs that fill their cell is
also the answer to the evenness that put plain ASCII here originally --
a glyph that does not fill its cell hands the slack to the gap beside it,
by an amount the font decides.
A bar for minimise rather than the obvious ▼, because the split guide
already owns all four triangles (◄ ► ▲ ▼) and the scroll indicator owns
▲ again. A glyph that means "split downward" on the border of a frame
cannot also mean "put this pane away" in its corner. Found by the guide's
own test failing on the first attempt, which is exactly what that test is
for -- and the reason it caught a UI collision rather than a typo is that
it asserts only *one* arrow is on screen at a time.
Widths checked in a real frame again: the rule still closes on its
corner, each button is still measured rather than booked, and the hits
land on the glyphs.
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions
