diff options
author | frosch <frosch@openttd.org> | 2009-05-31 14:04:19 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-05-31 14:04:19 +0000 |
commit | ea229c32bc6f681742627125b26791bebeaf2d1a (patch) | |
tree | b4bbb546ea77079599e1b99a522af7541d4f00a1 /src/vehicle_gui.h | |
parent | 9853c0dc224e01cf3394336ab074cbb18592bd5b (diff) | |
download | openttd-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.h | 8 |
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, |