Replace screenshots/01_designer.png with the newer designer shot:
canvas with Dialog/TextView/Option/TTimer, Object Inspector with
Widget properties, Bulk parameter and Colour palette, and the
Widgets palette. Same path, so the README link is unchanged.
The new shot is 1425x823 (the old one was 2560x1440).
Palette is XFrame-only: the 36 GTK widgets are gone from designer.ui
and main.cpp (547 entries from xframe_palette.h). .fdj holds only
XFrame widgets; on load a GTK/unknown type is skipped with a clear
message, never migrated. snapshot/load now go through the embedded
XFrame canvas; the GTK Item machinery stays only as selftest
scaffolding (legacy_gtk_snapshot) until it is removed in a follow-up.
Selftest phases 3-8 rewritten for the step-4 XFrame generator (4
files, lg::Holder markers, file-level + XFrame round-trips, GTK skip
rule, bad-file rejection). Palette/converter tests updated to 547;
xframe_palette.h regenerated (one stale comment line). Docs updated.
Also: selftest cleans scratch generation dirs first, and the cleanup
call assigns its return value (void cast does not silence
-Wunused-result for system() on this toolchain).
- palette_window/palette_icons tests: newer ImageMagick prints
1526 (0.0138727) for compare -metric AE, so the integer -gt test
failed on a passing diff; strip to the bare count. Palette window
suite now 16/16.
- code_window test: View -> Code View reopen used F10 menu navigation
(does not fire under bare Xvfb here) and fallback clicks at (130,12)
that hit Debug, not View (View spans x 80-128); click the measured
positions instead (108,12 then 162,37). Suite now ALL PASS.
- chart_pro render test: the resize-allocation check raced the Xvfb
configure event (same binary passed 1/3 runs); wait boundedly for
the allocation to shrink instead of a single pump().
- IndVortex: off-by-one in ind_vortex() aborted the layout on place
(series[k-1] with k=0 when i=period-1); guard is now i < period.
Pre-existing in the CWidgets source, fixed here in lightgui only.
Placement test now 547/547 place, 547/547 draw, 0 failures.
Regenerated screenshots + palette_layout_results.csv from the passing
runs.
- tools/gen_palette_icons.py draws all 36 glyphs (PIL, same style as
CWidgets icons: ink + section accent, white turned transparent) into
icons/<Key>.png; tools/verify_palette_icons.py checks 36/36 distinct.
- src/main.cpp: palette_attach_icons() puts a GtkImage left of each
button label (icons/ with ../icons/ fallback, text-only if missing);
self-test asserts 36/36 icons, palette 250x780, no scrolling.
- Fixed the round-3 tight CSS, which never applied: the builder id is
not the widget name (it stayed GtkWindow), and the per-widget style
provider never reached the buttons. Name is now set explicitly and
the provider is screen-wide (selector still scopes it to the palette);
button labels 9pt so icon + label fit the 250-wide window.
- tests/palette_icons_tests.sh (13 checks) + Memo click coordinate fix
in tests/palette_window_tests.sh for the shorter rows.
- screenshots 15 (palette with icons) + 16 (three windows with icons).