Feature: Hide block signals in GUI by default (#8688)

This commit is contained in:
Tyler Trahan
2021-09-05 14:22:27 -04:00
committed by GitHub
parent f656b0ae96
commit 7469f00c5b
8 changed files with 127 additions and 90 deletions

View File

@@ -19,4 +19,16 @@ void ResetSignalVariant(int32 = 0);
void InitializeRailGUI();
DropDownList GetRailTypeDropDownList(bool for_replacement = false, bool all_option = false);
/** Settings for which signals are shown by the signal GUI. */
enum SignalGUISettings : uint8 {
SIGNAL_GUI_PATH = 0, ///< Show path signals only.
SIGNAL_GUI_ALL = 1, ///< Show all signals, including block and presignals.
};
/** Settings for which signals are cycled through by control-clicking on the signal with the signal tool. */
enum SignalCycleSettings : uint8 {
SIGNAL_CYCLE_PATH = 0, ///< Cycle through path signals only.
SIGNAL_CYCLE_ALL = 1, ///< Cycle through all signals visible.
};
#endif /* RAIL_GUI_H */