18 Commits

Author SHA1 Message Date
Ben Harris
295660b1f9 webstead: set color:inherit on tickyboxes
Chromium's browser stylesheet overrides this.
2026-01-13 21:42:18 +00:00
Ben Harris
96ee19d038 webstead: put border on tickboxes, not table cells
That means the borders are clickable, which is what I want.
2026-01-13 21:42:18 +00:00
Ben Harris
7ba57f2e27 webstead: scale input and output better with window size
It turns out that setting --pix to 7vmin, while rather unprincipled,
does actually work quite adequately.
2026-01-13 21:42:18 +00:00
Ben Harris
64b18f30bb webstead: use currentColor for checked background
This means that webstead.xhtml doesn't know anything about the colours
in bedstead.css.
2026-01-13 21:42:18 +00:00
Ben Harris
8825e680dd webstead: use <pre> for C code 2026-01-13 21:42:18 +00:00
Ben Harris
74463d2a76 webstead: generate initialisers to paste into bedstead.c 2026-01-13 21:42:18 +00:00
Ben Harris
02514737cd webstead: slight CSS simplification
Don't need to specify border colour if it's the current colour anyway.
2026-01-13 21:42:18 +00:00
Ben Harris
e1e16471c8 webstead: better layout 2026-01-13 21:42:18 +00:00
Ben Harris
3a6e2bc265 webstead: almost-acceptable pixel-looking input 2026-01-13 21:42:18 +00:00
Ben Harris
70cbbde7f9 webstead: slightly cleverer path translation
Now paths with successive rlineto operations (to avoid overflowing the
Type 2 stack) work.
2026-01-13 21:42:18 +00:00
Ben Harris
357fbbc829 webstead: SVG transform to turn output right way up 2026-01-13 21:42:18 +00:00
Ben Harris
568d7f43ab webstead: properly ignore cntrmask 2026-01-13 21:42:18 +00:00
Ben Harris
09c777481b webstead: input from an array of tickyboxes 2026-01-13 21:42:18 +00:00
Ben Harris
6cf53005fe webstead: make a named function to update the rendered glyph 2026-01-13 21:42:18 +00:00
Ben Harris
111484a4f1 webstead: SVG rendering by extremely crude regexps 2026-01-13 21:42:18 +00:00
Ben Harris
1a49f8d120 webstead: use standard bedstead.css 2026-01-13 21:42:18 +00:00
Ben Harris
fb377b66af Capture output in HTML 2026-01-13 21:42:18 +00:00
Ben Harris
861c4749e6 Minimal build system and test page for Bedstead-in-WASM
Just allows for typing a command line and seeing the output.
2026-01-13 21:42:18 +00:00