summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2014-09-07 16:14:06 +0000
committeralberth <alberth@openttd.org>2014-09-07 16:14:06 +0000
commita49744b50cd11beb10936f4c079ef48d48b62d80 (patch)
tree787d61db303ef7ced06a8543b11bb8fd6e45962e /src/widgets
parentdcc67681ad84a5a046350ad5fe5418b14ab61f32 (diff)
downloadopenttd-a49744b50cd11beb10936f4c079ef48d48b62d80.tar.xz
(svn r26804) -Feature: Allow hiding of non-interesting engines in the build vehicle GUI.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/build_vehicle_widget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/build_vehicle_widget.h b/src/widgets/build_vehicle_widget.h
index 6acad3f81..142653ac6 100644
--- a/src/widgets/build_vehicle_widget.h
+++ b/src/widgets/build_vehicle_widget.h
@@ -18,10 +18,12 @@ enum BuildVehicleWidgets {
WID_BV_SORT_ASSENDING_DESCENDING, ///< Sort direction.
WID_BV_SORT_DROPDOWN, ///< Criteria of sorting dropdown.
WID_BV_CARGO_FILTER_DROPDOWN, ///< Cargo filter dropdown.
+ WID_BV_SHOW_HIDDEN_ENGINES, ///< Toggle whether to display the hidden vehicles.
WID_BV_LIST, ///< List of vehicles.
WID_BV_SCROLLBAR, ///< Scrollbar of list.
WID_BV_PANEL, ///< Button panel.
WID_BV_BUILD, ///< Build panel.
+ WID_BV_SHOW_HIDE, ///< Button to hide or show the selected engine.
WID_BV_BUILD_SEL, ///< Build button.
WID_BV_RENAME, ///< Rename button.
};