New Archetype::Monitor (MonitorWidget, kind-dispatched draw) for XHistoryGraph, XCoreGrid, XNetGraph, XTempHistory, XUsageBar, XStackBar, XVerticalBar, XTachometer, XArcGauge, XDonutGauge, XProcessList, XLoadBadge, XMonitorButton, XMonitorGrid, XSysBox. - data/registry.json + data/palette.json: 15 entries, registry kept in sorted order (the C extractor requires it); palette Misc/X group re-sorted, other sections untouched, registry_index refreshed (XGraph 545->548, XSpreadsheet 546->555). - crates/xframe-widgets/src/monitor.rs: stdlib-only live checks (/proc scan, systemctl is-active, TcpStream::connect_timeout), poll()/update() with a 2s staleness guard, deterministic demo seeding; unit tests incl. headless Canvas draw for all kinds. - Placeholder 16x16 icons (assets/PROVENANCE.md notes they are placeholders pending the C port) + 15 demo examples + README monitor-family section (547 -> 562). - xframe-common ico test tolerates the 15 monitor icons as pending until the C icons land (matched by name, not index). cargo build --workspace: clean, warning-free. xframe-common lib 8/8, xframe-widgets lib 28/28, widget_tests 24/24, demo smoke 3/3, designer palette/seam 4/4 + 4/4 pass.
1.2 KiB
Icon provenance
The 547 .ico files in assets/icons/ are copied as-is from the
lightgui C repository (/opt/lightgui/widgets/icons/, HEAD eb0b5fc).
They are not regenerated: each is a 16x16, 24/32bpp BMP-format ICO
for one of the 547 widgets, named <WidgetName>.ico (e.g.
GtkButton.ico, IndSMA.ico, XGraph.ico).
- Source:
https://github.com/cnmcdee/lightgui,widgets/icons/ - Copied: 2026-11-29, 547 files, ~2.2 MB total
- Licence: same as lightgui (MIT)
Monitor-widget icons (15, generated Dec 5, 2026)
The 15 X* monitor widgets (XHistoryGraph … XSysBox) have no C
icons yet — their C port is still in flight — so their .ico files
are generated placeholders, not copies: 16x16, 32bpp BMP-format
ICO (same format src/icons.rs decodes), solid accent background +
white 5x7 first letter of the widget stem. Replace each with the real
C icon from widgets/icons/ when the C port lands it; the palette
and the icon-decode test treat them the same either way.
src/icons.rs decodes them (port of widgets/common/ico.h,
lg::load_ico_rgba); the archetype draw code in src/archetypes.rs
(LabelWidget, DisplayWidget) renders them.