8 Commits
Author SHA1 Message Date
cnmcdee 0e1f672bc2 Update README designer screenshot to the current UI
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).
2026-12-01 02:14:08 +00:00
cnmcdee c31b4b6a8b Step 5: cut .fdj to XFrame-only, drop the GTK palette (547 XFrame entries)
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).
2026-11-30 00:42:10 +00:00
cnmcdee 21a48f8d01 Add step-by-step debugger guide with real screenshots 2026-11-29 13:30:07 +00:00
cnmcdee a80fedb026 Fix flaky/wrong test harnesses; fix IndVortex off-by-one abort
- 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.
2026-11-29 04:50:01 +00:00
cnmcdee 77a5edfe2c Merge expanded widget set: 547 XFrame widgets, combined palette (583), layout, docs 2026-11-29 03:38:35 +00:00
Muse 310ff34c47 Palette icons: 16x16 glyph on every widget button
- 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).
2026-11-25 15:56:35 -05:00
Muse 1e2e6f8692 Round 3 screenshots: three top-level windows together, paused code window, palette grid
11_three_windows.png — 2560x1440 desktop: design window (Button/Label/
Memo placed on canvas) + palette window + code window, side by side.
12_code_paused.png — code window stopped at prog.c:16: red paused-line
background + white arrow + red breakpoint dot, inspection pane with
main() scope (a=42, msg=hello, r=0).
13_palette.png — palette window alone: tight 2-column Lazarus-style grid,
all 36 buttons, no scrolling.
14_three_windows_paused.png — full desktop while paused: debugger window
open (Stopped, breakpoint-hit, locals) + design + palette + code windows.
2026-11-25 15:19:15 -05:00
Muse 087fa9fd01 Add 10 hi-res screenshots of the feature round (designer, code view, debugger, settings, CMake build, Lazarus widgets, generated apps) 2026-11-25 13:30:35 -05:00