mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 08:46:00 +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:
@@ -271,6 +271,8 @@ std::string locale::label_cab_control(std::string const &Label)
|
||||
{ "converteroff_sw:", STRN("converter") },
|
||||
{ "main_sw:", STRN("line breaker") },
|
||||
{ "radio_sw:", STRN("radio") },
|
||||
{ "radioon_sw:", STRN("radio") },
|
||||
{ "radiooff_sw:", STRN("radio") },
|
||||
{ "radiofuse_sw:", STRN("radio fuse") },
|
||||
{ "radiofuseon_sw:", STRN("radio fuse") },
|
||||
{ "radiofuseoff_sw:", STRN("radio fuse") },
|
||||
|
||||
Reference in New Issue
Block a user