summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-16 16:57:56 +0000
committerrubidium <rubidium@openttd.org>2011-12-16 16:57:56 +0000
commitb8640b986f2a7188b7a21d4093a211b21a926c3e (patch)
tree3e451a7b233bac1eaf1a1e94a513144643b6dba3 /src/widgets
parent5ade484ce4e7a92a0932a48d3cec1aca513d1282 (diff)
downloadopenttd-b8640b986f2a7188b7a21d4093a211b21a926c3e.tar.xz
(svn r23539) -Codechange: prevent conflict between widget naming of (vehicle) depots and vehicle details
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/depot_widget.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/widgets/depot_widget.h b/src/widgets/depot_widget.h
index d849bcd18..d15207e61 100644
--- a/src/widgets/depot_widget.h
+++ b/src/widgets/depot_widget.h
@@ -13,25 +13,25 @@
#define WIDGETS_DEPOT_WIDGET_H
/** Widgets of the WC_VEHICLE_DEPOT. */
-enum VehicleDepotWidgets {
- WID_VD_CAPTION, ///< Caption of window.
- WID_VD_SELL, ///< Sell button.
- WID_VD_SHOW_SELL_CHAIN, ///< Show sell chain panel.
- WID_VD_SELL_CHAIN, ///< Sell chain button.
- WID_VD_SELL_ALL, ///< Sell all button.
- WID_VD_AUTOREPLACE, ///< Autoreplace button.
- WID_VD_MATRIX, ///< Matrix of vehicles.
- WID_VD_V_SCROLL, ///< Vertical scrollbar.
- WID_VD_SHOW_H_SCROLL, ///< Show horizontal scrollbar panel.
- WID_VD_H_SCROLL, ///< Horizontal scrollbar.
- WID_VD_BUILD, ///< Build button.
- WID_VD_CLONE, ///< Clone button.
- WID_VD_LOCATION, ///< Location button.
- WID_VD_SHOW_RENAME, ///< Show rename panel.
- WID_VD_RENAME, ///< Rename button.
- WID_VD_VEHICLE_LIST, ///< List of vehicles.
- WID_VD_STOP_ALL, ///< Stop all button.
- WID_VD_START_ALL, ///< Start all button.
+enum DepotWidgets {
+ WID_D_CAPTION, ///< Caption of window.
+ WID_D_SELL, ///< Sell button.
+ WID_D_SHOW_SELL_CHAIN, ///< Show sell chain panel.
+ WID_D_SELL_CHAIN, ///< Sell chain button.
+ WID_D_SELL_ALL, ///< Sell all button.
+ WID_D_AUTOREPLACE, ///< Autoreplace button.
+ WID_D_MATRIX, ///< Matrix of vehicles.
+ WID_D_V_SCROLL, ///< Vertical scrollbar.
+ WID_D_SHOW_H_SCROLL, ///< Show horizontal scrollbar panel.
+ WID_D_H_SCROLL, ///< Horizontal scrollbar.
+ WID_D_BUILD, ///< Build button.
+ WID_D_CLONE, ///< Clone button.
+ WID_D_LOCATION, ///< Location button.
+ WID_D_SHOW_RENAME, ///< Show rename panel.
+ WID_D_RENAME, ///< Rename button.
+ WID_D_VEHICLE_LIST, ///< List of vehicles.
+ WID_D_STOP_ALL, ///< Stop all button.
+ WID_D_START_ALL, ///< Start all button.
};
#endif /* WIDGETS_DEPOT_WIDGET_H */