- XTachometer: the "RPM" title baseline now hangs below the top
numeral's bottom edge instead of a fixed cy - r*0.55, so it
cannot collide with the neighbouring numerals on small dials
(found in the Python demo at r=73, where 3200/RPM/4800 jammed).
- XVerticalBar: the "peak N" label shrinks 14px -> 11px when the
bar is too narrow for it to fit inside the frame.
- Graphs (XHistoryGraph/XNetGraph/XTempHistory): dynamic left margin from
widest Y label (fixes Y labels overflowing the plot), legend wrapped to
two lines when too wide, legend on top, 5 Y labels, humanised units in
NetGraph, TempHistory on the PY layout (now top-right, min/max/avg bottom,
threshold label above the line). Top/bottom Y labels hang clear of the
title and the strip below the plot.
- XTachometer: numerals 7.5% of dial diameter bold just inside the tick
ring, RPM bold centred in-dial, readout enlarged below the hub,
redline numerals in red.
- All 14 audit widgets: font sizes derived from widget dimensions per
the proportions audit (titles 16px bold, hero values 24-48px bold,
body/legend 13-16px, min 11px); CoreGrid 4x2 for 8 cores; UsageBar
labels outside the bar; StackBar block centred with grown bar;
VerticalBar value inside the bar; ArcGauge centre 40-48px + load
sub-label + endpoints; DonutGauge centre 36-44px, ring 8-10% of
diameter, duplicate title dropped; ProcessList 13px rows, colour-coded
CPU bars after the number; LoadBadge centred value block with 1/5/15
sub-labels; MonitorButton scaled label/dot/status + detail line;
MonitorGrid ceil(sqrt(n)) columns; SysBox hero 28-32px + max + bar %.
- New xframe::scaled_font() helper in InstData.h (scalable misc-fixed
XLFD, cached per size/bold) + font_text_width/draw_text_font.
- Deviations from the audit spec: UsageBar label capped at 40px (the
literal 0.45x rule gives 209px in the 464px-tall demo bar); SysBox
hero uses 10% of height clamped 20-32px (spec 6-7% conflicts with
the audited-correct PY value of 10.3%).
All 15 widget demos rebuild clean and were screenshot-verified.
Run the repo generator instead of the hand-appended batch-4 registry:
kWidgetNames now in sorted order (Rust extract_registry requires it),
kWidgetDefaultW/H extended 547 -> 562 with the default_size() rule,
factory cases reordered to match, XGraph index 545 -> 548.
Palette re-indexed via gen_xframe_palette_data.py (XGraph 548, --check clean).
widgets/README.md palette table: Misc / X 4 -> 19, 562 widgets.
Verified: Rust extract_registry build OK (562); make test SEAM ALL PASS.
Register the 15 new X* monitor widgets (includes, kWidgetNames,
kWidgetSection as Misc / X, factory cases 547-561, kWidgetCount
562); sections.py Misc / X assignment; regenerate
src/xframe_palette.h (562 entries, palette --check clean); 16x16
icons; README 547 -> 562 plus X* monitor-family section with
per-widget one-liners and example build/run commands.
Also fix a pre-existing seam-test failure (proven on clean main
9088092): the generator emitted .w.set_label() for the
Frame/GroupBox/Panel kinds, but TFrame / TGroupBox / TPanel only
have set_text — gate the GtkFrame-only setters on the mapped class
being GtkFrame so the other classes fall through to set_text.
make test (seam test) now passes: 562 mapped, generated project
builds.
Live process table from /proc (sortable columns, in-cell CPU% bars,
colour-coded rows, refresh()), load-average badge (1/5/15 min,
threshold colours, uptime from /proc), monitor button bound to a
process (/proc scan), systemd unit (systemctl is-active) or TCP port
(connect to localhost) with poll()/update() and click-for-details,
grid panel of monitor buttons with one shared poll_all(), composite
resource box (title + big number + history + usage bar). Header-only
C++, demo mains (polling loop for the live three), examples, Xvfb
screenshots.
Gradient usage bar (green->yellow->red, absolute scale), stacked
multi-segment bar with legend, vertical bar meter with scale +
peak-hold marker (click resets peak), round tachometer (needle,
redline zone, digital readout, peak hold), semicircular arc gauge
with coloured zones + big %, circular progress ring with centred %.
Header-only C++, demo mains, examples, Xvfb screenshots.