Commit Graph
2 Commits
Author SHA1 Message Date
cnmcdee f7a27ad95a Getter/setter pass Group D (Instrumentation) batch 4/7: PanelLampBlue, PanelLampGreen, PanelLampRed, PanelLampWhite, PanelPlate, PressureGauge, PushButton, PushButtonLatching, RgbStatusLed, RockerSwitch
Expose draw colours as Srgb members with get_<name>_color/set_<name>_color
(defaults are the original literals, rendering unchanged); lens colours for
the lamp_colour() helpers; RGB channel + swatch-outline colours for
RgbStatusLed; needle line width for PressureGauge; set_on for PushButton
(on_ previously had no setter). Dead colour locals that draw() never used
are removed. Setters mutate state only, matching every existing setter in
the codebase; the host redraws after a state change.
2026-11-29 21:53:00 +00:00
cnmcdee 77a5edfe2c Merge expanded widget set: 547 XFrame widgets, combined palette (583), layout, docs 2026-11-29 03:38:35 +00:00