summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2020-12-27 22:41:06 +0100
committerfrosch <github@elsenhans.name>2021-01-11 22:15:58 +0100
commit589feba0ebd5215138a339b81a6124e6d0e16ec5 (patch)
tree79194a26361153682ebe6cc1f8eee9de7c4bb088 /src/widgets
parent8dda0ec4ff5bd0eb78a5c4672a470046e8c680d7 (diff)
downloadopenttd-589feba0ebd5215138a339b81a6124e6d0e16ec5.tar.xz
Change: Relocate vehicle rename and location buttons.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/vehicle_widget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/widgets/vehicle_widget.h b/src/widgets/vehicle_widget.h
index 0ee1b2624..698a32bcf 100644
--- a/src/widgets/vehicle_widget.h
+++ b/src/widgets/vehicle_widget.h
@@ -15,7 +15,9 @@ enum VehicleViewWidgets {
WID_VV_CAPTION, ///< Caption of window.
WID_VV_VIEWPORT, ///< Viewport widget.
WID_VV_START_STOP, ///< Start or stop this vehicle, and show information about the current state.
- WID_VV_CENTER_MAIN_VIEW, ///< Center the main view on this vehicle.
+ WID_VV_RENAME, ///< Rename vehicle
+ WID_VV_LOCATION, ///< Center the main view on this vehicle.
+ WID_VV_ORDER_LOCATION, ///< Center the main view on the order's target location.
WID_VV_GOTO_DEPOT, ///< Order this vehicle to go to the depot.
WID_VV_REFIT, ///< Open the refit window.
WID_VV_SHOW_ORDERS, ///< Show the orders of this vehicle.
@@ -43,7 +45,6 @@ enum VehicleRefitWidgets {
/** Widgets of the #VehicleDetailsWindow class. */
enum VehicleDetailsWidgets {
WID_VD_CAPTION, ///< Caption of window.
- WID_VD_RENAME_VEHICLE, ///< Rename this vehicle.
WID_VD_TOP_DETAILS, ///< Panel with generic details.
WID_VD_INCREASE_SERVICING_INTERVAL, ///< Increase the servicing interval.
WID_VD_DECREASE_SERVICING_INTERVAL, ///< Decrease the servicing interval.