summaryrefslogtreecommitdiff
path: root/src/station_gui.h
diff options
context:
space:
mode:
authorYexo <yexo@openttd.org>2009-01-29 02:42:36 +0000
committerYexo <yexo@openttd.org>2009-01-29 02:42:36 +0000
commit0e42a7bac73bb55f8a740ccc1aef388677ad28e8 (patch)
treefb59c7c89e4c38389e254a1ef30bddf8833975e1 /src/station_gui.h
parent3671ed9e4f4b773cd03bfe7a4544bf78e61d1604 (diff)
downloadopenttd-0e42a7bac73bb55f8a740ccc1aef388677ad28e8.tar.xz
(svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h
-Fix: comment for ReallocT was wrong, the memory is not zeroed.
Diffstat (limited to 'src/station_gui.h')
-rw-r--r--src/station_gui.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/station_gui.h b/src/station_gui.h
index 1addc6ab9..8efe3aae2 100644
--- a/src/station_gui.h
+++ b/src/station_gui.h
@@ -7,31 +7,6 @@
#include "command_type.h"
-/** Enum for CompanyStations, referring to _company_stations_widgets */
-enum StationListWidgets {
- SLW_CLOSEBOX = 0, ///< Close 'X' button
-
- SLW_LIST = 3, ///< The main panel, list of stations
-
- SLW_TRAIN = 6, ///< 'TRAIN' button - list only facilities where is a railroad station
- SLW_TRUCK,
- SLW_BUS,
- SLW_AIRPLANE,
- SLW_SHIP,
- SLW_FACILALL, ///< 'ALL' button - list all facilities
-
- SLW_PAN_BETWEEN = 12, ///< Small panel between list of types of ficilities and list of cargo types
- SLW_NOCARGOWAITING = 13, ///< 'NO' button - list stations where no cargo is waiting
- SLW_CARGOALL = 14, ///< 'ALL' button - list all stations
- SLW_PAN_RIGHT = 15, ///< Panel right of list of cargo types
-
- SLW_SORTBY = 16, ///< 'Sort by' button - reverse sort direction
- SLW_SORTDROPBTN = 17, ///< Dropdown button
- SLW_PAN_SORT_RIGHT = 18, ///< Panel right of sorting options
-
- SLW_CARGOSTART = 19, ///< Widget numbers used for list of cargo types (not present in _company_stations_widgets)
-};
-
/** Enum for StationView, referring to _station_view_widgets and _station_view_expanded_widgets */
enum StationViewWidgets {
SVW_CLOSEBOX = 0, ///< Close 'X' button