station_gui.h
Go to the documentation of this file.00001
00002
00005 #ifndef STATION_GUI_H
00006 #define STATION_GUI_H
00007
00008 #include "command_type.h"
00009
00011 enum StationViewWidgets {
00012 SVW_CLOSEBOX = 0,
00013 SVW_CAPTION = 1,
00014 SVW_WAITING = 3,
00015 SVW_ACCEPTLIST = 5,
00016 SVW_RATINGLIST = 5,
00017 SVW_LOCATION = 6,
00018 SVW_RATINGS = 7,
00019 SVW_ACCEPTS = 7,
00020 SVW_RENAME = 8,
00021 SVW_TRAINS = 9,
00022 SVW_ROADVEHS,
00023 SVW_PLANES,
00024 SVW_SHIPS,
00025 SVW_RESIZE,
00026 };
00027
00028 enum StationCoverageType {
00029 SCT_PASSENGERS_ONLY,
00030 SCT_NON_PASSENGERS_ONLY,
00031 SCT_ALL
00032 };
00033
00034 int DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad, bool supplies);
00035 void CheckRedrawStationCoverage(const Window *w);
00036
00037 void ShowSelectStationIfNeeded(CommandContainer cmd, int w, int h);
00038
00039 #endif