aboutsummaryrefslogtreecommitdiff
path: root/mu_x11.c
Commit message (Collapse)AuthorAgeFilesLines
* split: colitur-mu moves to colitur-experimentsLukasz Kasprzak2026-08-211-177/+0
| | | | | | | | This repo now holds one finished program rather than a finished one and a sketch. The microui front-end, its Xlib backend and the vendored microui went to ../colitur-experiments with their history intact. Makefile, config.h and README trimmed to match.
* debug: MUX_DUMP writes one frame from the pixmap, then exitsLukasz Kasprzak2026-08-211-0/+29
| | | | | | | | | | | | Verifying what the program actually draws by screenshotting its window is unreliable: X does not retain a window's contents while it is obscured or on an unfocused tag, so import and xwd can both return solid black while the rendering is correct. Reading back the off-screen pixmap always works. Used to confirm the XRectangle clip-truncation fix: rows now run unbroken from 2027-01-01 to 2027-01-29 with every column populated, where before the twelfth row lost everything but its name.
* colitur-mu: an editable microui front-end, and its Xlib backendLukasz Kasprzak2026-08-201-0/+148
Same data as colitur-x, but the invocation is editable: year, language, book-name form and numbering tradition are buttons that re-run colitur. No calendar logic is reimplemented; the status line shows the exact command that produced what is on screen. microui (MIT, rxi) is vendored rather than packaged -- a copied-in dependency cannot rot, which is the whole reason to prefer it over a toolkit here. mu_x11.c carries one bug worth recording: microui resets its scissor with an unclipped rect of 0x1000000, and XRectangle's w/h are unsigned short, so it truncated to 0 and turned 'clip nothing' into 'clip everything'. A panel drew its first screenful and the rest vanished.