18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-21 10:55:01 +01:00

fix: radio fuse review: working push buttons, own hint, HUD

- radioon_sw:/radiooff_sw:/radiofuseon_sw:/radiofuseoff_sw: are now loaded
  as push-button gauges in initialize_gauge, so they can be clicked; the
  enable/disable commands press them while held. radiotoggle and
  radiofusetoggle flip the state directly, so they don't move them.
- New driver hint "Close radio fuse" (radiofuseon); "Switch on radio" is
  given only when the radio's own switch is off.
- The HUD shows the radio channel only with the fuse closed.

(eu07/maszyna#438)
This commit is contained in:
jerrrrycho
2026-11-08 17:52:39 +01:00
parent 30bdc3da61
commit 43fc80f452
7 changed files with 94 additions and 34 deletions

View File

@@ -598,6 +598,10 @@ public: // reszta może by?publiczna
TGauge ggRadioVolumeSelector;
TGauge ggRadioVolumePrevious;
TGauge ggRadioVolumeNext;
TGauge ggRadioOnButton;
TGauge ggRadioOffButton;
TGauge ggRadioFuseOnButton;
TGauge ggRadioFuseOffButton;
TGauge ggUpperLightButton;
TGauge ggLeftLightButton;
TGauge ggRightLightButton;