summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index c52d8626f..249019262 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -18,26 +18,10 @@
#include "station_type.h"
#include "engine_type.h"
#include "company_type.h"
+#include "widgets/vehicle_widget.h"
void ShowVehicleRefitWindow(const Vehicle *v, VehicleOrderID order, Window *parent, bool auto_refit = false);
-/** Constants of vehicle view widget indices */
-enum VehicleViewWindowWidgets {
- VVW_WIDGET_CAPTION,
- VVW_WIDGET_VIEWPORT, ///< Viewport widget.
- VVW_WIDGET_START_STOP_VEH,
- VVW_WIDGET_CENTER_MAIN_VIEH,
- VVW_WIDGET_GOTO_DEPOT,
- VVW_WIDGET_REFIT_VEH,
- VVW_WIDGET_SHOW_ORDERS,
- VVW_WIDGET_SHOW_DETAILS,
- VVW_WIDGET_CLONE_VEH,
- VVW_WIDGET_SELECT_DEPOT_CLONE, ///< Selection widget between 'goto depot', and 'clone vehicle' buttons.
- VVW_WIDGET_SELECT_REFIT_TURN, ///< Selection widget between 'refit' and 'turn around' buttons.
- VVW_WIDGET_TURN_AROUND,
- VVW_WIDGET_FORCE_PROCEED,
-};
-
/** The tabs in the train details window */
enum TrainDetailsWindowTabs {
TDW_TAB_CARGO = 0, ///< Tab with cargo carried by the vehicles