diff options
author | Tyler Trahan <tyler@tylertrahan.com> | 2021-09-05 14:22:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 20:22:27 +0200 |
commit | 7469f00c5b8d0dc5cc2034eb9dc91c6e8721ac03 (patch) | |
tree | 5a587cb8e7a12af3d15e120001edacfd89807048 /src/widgets | |
parent | f656b0ae966052327a6341be8dee65cfd2f395b8 (diff) | |
download | openttd-7469f00c5b8d0dc5cc2034eb9dc91c6e8721ac03.tar.xz |
Feature: Hide block signals in GUI by default (#8688)
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/rail_widget.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/src/widgets/rail_widget.h b/src/widgets/rail_widget.h index f10f9bee4..803599e3a 100644 --- a/src/widgets/rail_widget.h +++ b/src/widgets/rail_widget.h @@ -78,22 +78,31 @@ enum BuildRailStationWidgets { /** Widgets of the #BuildSignalWindow class. */ enum BuildSignalWidgets { - WID_BS_SEMAPHORE_NORM, ///< Build a semaphore normal block signal - WID_BS_SEMAPHORE_ENTRY, ///< Build a semaphore entry block signal - WID_BS_SEMAPHORE_EXIT, ///< Build a semaphore exit block signal - WID_BS_SEMAPHORE_COMBO, ///< Build a semaphore combo block signal + WID_BS_CAPTION, ///< Caption for the Signal Selection window. + WID_BS_SEMAPHORE_NORM, ///< Build a semaphore normal block signal. + WID_BS_SEMAPHORE_ENTRY, ///< Build a semaphore entry block signal. + WID_BS_SEMAPHORE_EXIT, ///< Build a semaphore exit block signal. + WID_BS_SEMAPHORE_COMBO, ///< Build a semaphore combo block signal. WID_BS_SEMAPHORE_PBS, ///< Build a semaphore path signal. WID_BS_SEMAPHORE_PBS_OWAY, ///< Build a semaphore one way path signal. - WID_BS_ELECTRIC_NORM, ///< Build an electric normal block signal - WID_BS_ELECTRIC_ENTRY, ///< Build an electric entry block signal - WID_BS_ELECTRIC_EXIT, ///< Build an electric exit block signal - WID_BS_ELECTRIC_COMBO, ///< Build an electric combo block signal + WID_BS_ELECTRIC_NORM, ///< Build an electric normal block signal. + WID_BS_ELECTRIC_ENTRY, ///< Build an electric entry block signal. + WID_BS_ELECTRIC_EXIT, ///< Build an electric exit block signal. + WID_BS_ELECTRIC_COMBO, ///< Build an electric combo block signal. WID_BS_ELECTRIC_PBS, ///< Build an electric path signal. WID_BS_ELECTRIC_PBS_OWAY, ///< Build an electric one way path signal. WID_BS_CONVERT, ///< Convert the signal. WID_BS_DRAG_SIGNALS_DENSITY_LABEL, ///< The current signal density. WID_BS_DRAG_SIGNALS_DENSITY_DECREASE, ///< Decrease the signal density. WID_BS_DRAG_SIGNALS_DENSITY_INCREASE, ///< Increase the signal density. + WID_BS_SEMAPHORE_NORM_SEL, ///< NWID_SELECTION for WID_BS_SEMAPHORE_NORM. + WID_BS_ELECTRIC_NORM_SEL, ///< NWID_SELECTION for WID_BS_ELECTRIC_NORM. + WID_BS_SEMAPHORE_ENTRY_SEL, ///< NWID_SELECTION for WID_BS_SEMAPHORE_ENTRY. + WID_BS_ELECTRIC_ENTRY_SEL, ///< NWID_SELECTION for WID_BS_ELECTRIC_ENTRY. + WID_BS_SEMAPHORE_EXIT_SEL, ///< NWID_SELECTION for WID_BS_SEMAPHORE_EXIT. + WID_BS_ELECTRIC_EXIT_SEL, ///< NWID_SELECTION for WID_BS_ELECTRIC_EXIT. + WID_BS_SEMAPHORE_COMBO_SEL, ///< NWID_SELECTION for WID_BS_SEMAPHORE_COMBO. + WID_BS_ELECTRIC_COMBO_SEL, ///< NWID_SELECTION for WID_BS_ELECTRIC_COMBO. }; /** Widgets of the #BuildRailDepotWindow class. */ |