summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-05-31 14:04:19 +0000
committerfrosch <frosch@openttd.org>2009-05-31 14:04:19 +0000
commitea229c32bc6f681742627125b26791bebeaf2d1a (patch)
treeb4bbb546ea77079599e1b99a522af7541d4f00a1 /src/vehicle_gui.h
parent9853c0dc224e01cf3394336ab074cbb18592bd5b (diff)
downloadopenttd-ea229c32bc6f681742627125b26791bebeaf2d1a.tar.xz
(svn r16483) -Codechange: Enumerate tabs in train details window.
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index 855b750ca..fb3516ec4 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -35,6 +35,14 @@ enum VehicleViewWindowWidgets {
VVW_WIDGET_FORCE_PROCEED,
};
+/** The tabs in the train details window */
+enum TrainDetailsWindowTabs {
+ TDW_TAB_CARGO = 0, ///< Tab with cargo carried by the vehicles
+ TDW_TAB_INFO, ///< Tab with name and value of the vehicles
+ TDW_TAB_CAPACITY, ///< Tab with cargo capacity of the vehicles
+ TDW_TAB_TOTALS, ///< Tab with sum of total cargo transported
+};
+
/** Vehicle List Window type flags */
enum {
VLW_STANDARD = 0 << 8,