diff options
author | rubidium <rubidium@openttd.org> | 2009-11-24 18:05:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-24 18:05:55 +0000 |
commit | 14300d309c01591b9dd2b4c8fb0180fec69bddb0 (patch) | |
tree | 27fa96cc5e58d694c671eeb6c5c23cce8a93bcf5 /src/station_gui.h | |
parent | 91865c33da8df050165d8e692e22dde9048572ed (diff) | |
download | openttd-14300d309c01591b9dd2b4c8fb0180fec69bddb0.tar.xz |
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
Diffstat (limited to 'src/station_gui.h')
-rw-r--r-- | src/station_gui.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/src/station_gui.h b/src/station_gui.h index b0bb17e76..55fb173c2 100644 --- a/src/station_gui.h +++ b/src/station_gui.h @@ -17,22 +17,19 @@ /** Enum for StationView, referring to _station_view_widgets and _station_view_expanded_widgets */ enum StationViewWidgets { - SVW_CLOSEBOX = 0, ///< Close 'X' button - SVW_CAPTION = 1, ///< Caption of the window - SVW_STICKYBOX = 2, ///< Sticky button - SVW_WAITING = 3, ///< List of waiting cargo - SVW_SCROLLBAR = 4, ///< Scrollbar - SVW_ACCEPTLIST = 5, ///< List of accepted cargos - SVW_RATINGLIST = 5, ///< Ratings of cargos - SVW_LOCATION = 6, ///< 'Location' button - SVW_RATINGS = 7, ///< 'Ratings' button - SVW_ACCEPTS = 7, ///< 'Accepts' button - SVW_RENAME = 8, ///< 'Rename' button - SVW_TRAINS = 9, ///< List of scheduled trains button + SVW_CAPTION = 0, ///< Caption of the window + SVW_WAITING = 1, ///< List of waiting cargo + SVW_SCROLLBAR = 2, ///< Scrollbar + SVW_ACCEPTLIST = 3, ///< List of accepted cargos + SVW_RATINGLIST = 3, ///< Ratings of cargos + SVW_LOCATION = 4, ///< 'Location' button + SVW_RATINGS = 5, ///< 'Ratings' button + SVW_ACCEPTS = 5, ///< 'Accepts' button + SVW_RENAME = 6, ///< 'Rename' button + SVW_TRAINS = 7, ///< List of scheduled trains button SVW_ROADVEHS, ///< List of scheduled road vehs button SVW_PLANES, ///< List of scheduled planes button SVW_SHIPS, ///< List of scheduled ships button - SVW_RESIZE, ///< Resize button }; enum StationCoverageType { |