summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorBernard Teo <bernard.14916@gmail.com>2019-01-11 16:50:38 +0800
committerPatric Stout <github@truebrain.nl>2020-12-21 23:15:53 +0100
commite59c400ca6e56605dd8660630246982f23a16b0a (patch)
tree43ba3c93dfa79fc5ed0e1719862c4ba773b58a9d /src/widgets
parent584df548f1bdfa27482aa995d151542abe4f0bca (diff)
downloadopenttd-e59c400ca6e56605dd8660630246982f23a16b0a.tar.xz
Feature: Option to group vehicle lists by shared orders
This applies to all kinds of vehicle lists, as well as the "vehicle groups" window.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/group_widget.h2
-rw-r--r--src/widgets/vehicle_widget.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/group_widget.h b/src/widgets/group_widget.h
index beca5a3a6..03ac61a48 100644
--- a/src/widgets/group_widget.h
+++ b/src/widgets/group_widget.h
@@ -13,6 +13,8 @@
/** Widgets of the #VehicleGroupWindow class. */
enum GroupListWidgets {
WID_GL_CAPTION, ///< Caption of the window.
+ WID_GL_GROUP_BY_ORDER, ///< Group order.
+ WID_GL_GROUP_BY_DROPDOWN, ///< Group by dropdown list.
WID_GL_SORT_BY_ORDER, ///< Sort order.
WID_GL_SORT_BY_DROPDOWN, ///< Sort by dropdown list.
WID_GL_LIST_VEHICLE, ///< List of the vehicles.
diff --git a/src/widgets/vehicle_widget.h b/src/widgets/vehicle_widget.h
index 5ecb8dffe..0ee1b2624 100644
--- a/src/widgets/vehicle_widget.h
+++ b/src/widgets/vehicle_widget.h
@@ -61,6 +61,8 @@ enum VehicleDetailsWidgets {
/** Widgets of the #VehicleListWindow class. */
enum VehicleListWidgets {
WID_VL_CAPTION, ///< Caption of window.
+ WID_VL_GROUP_ORDER, ///< Group order.
+ WID_VL_GROUP_BY_PULLDOWN, ///< Group by dropdown list.
WID_VL_SORT_ORDER, ///< Sort order.
WID_VL_SORT_BY_PULLDOWN, ///< Sort by dropdown list.
WID_VL_LIST, ///< List of the vehicles.