diff options
author | Bernard Teo <bernard.14916@gmail.com> | 2019-01-11 16:50:38 +0800 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2020-12-21 23:15:53 +0100 |
commit | e59c400ca6e56605dd8660630246982f23a16b0a (patch) | |
tree | 43ba3c93dfa79fc5ed0e1719862c4ba773b58a9d /src/widgets | |
parent | 584df548f1bdfa27482aa995d151542abe4f0bca (diff) | |
download | openttd-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.h | 2 | ||||
-rw-r--r-- | src/widgets/vehicle_widget.h | 2 |
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. |