Single-widget monitor app (XTempHistory, 80 C threshold) reading
/sys/class/thermal + /sys/class/hwmon every 2 s. hot_dallas has no
thermal sensors, so the app shows the widget empty state (no data,
no fake readings) with a title that says so. Adds additive
XTempHistory::clear() and an empty-state legend.
Tabbed TPageControl app in one 1024x768 window. Processes tab is a
live XProcessList from /proc (sortable Pid/Program/User/MemB/Cpu%).
Performance tab is XHistoryGraph (60 s CPU+memory), XCoreGrid
(per-core), XUsageBar (Memory, Disk /, Swap), XStackBar (memory
breakdown) and XNetGraph (live /proc/net/dev rates). Data sampled
every 500 ms from /proc/stat, /proc/meminfo, /proc/net/dev and
statvfs; repaint every 2 s (a full repaint issues ~500 XAllocColor
round trips via get_color_Srgb, ~0.5 s wall on this Xvfb, so a
500 ms repaint would never catch up). Widgets-only: no raw X11
drawing for UI elements.
XCoreGrid + XArcGauge + XHistoryGraph + XLoadBadge + XUsageBar in one
1024x768 window, live /proc/stat + /proc/loadavg sampled every 500 ms.
Seeded demo histories are primed out with the first live sample.
One 1024x768 window: XMonitorGrid of XMonitorButton cells for the
real services on hot_dallas -- ports 22/80/443/81/2368/5000/5009/7888,
processes dockerd/containerd, units docker.service/ssh.service.
Live poll_all() on a 2 s timer; green up / red down. Screenshot
verified: 12/12 up.
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.
Each examples/<Widget>.cpp is a minimal complete program: window +
widget (setup mirrors the widget demo) + standard event loop. Built,
run under Xvfb and screenshotted for the C widget docs.