# station_gui.h

Go to the documentation of this file.

    00001 /* $Id: station_gui.h 11993 2008-01-27 11:01:10Z peter1138 $ */
    00002
    00005 #ifndef STATION_GUI_H
    00006 #define STATION_GUI_H
    00007
    00009 enum StationListWidgets {
    00010   SLW_CLOSEBOX       =  0,
    00011
    00012   SLW_LIST           =  3,
    00013
    00014   SLW_TRAIN          =  6,
    00015   SLW_TRUCK,
    00016   SLW_BUS,
    00017   SLW_AIRPLANE,
    00018   SLW_SHIP,
    00019   SLW_FACILALL,
    00020
    00021   SLW_PAN_BETWEEN    = 12,
    00022   SLW_NOCARGOWAITING = 13,
    00023   SLW_CARGOALL       = 14,
    00024   SLW_PAN_RIGHT      = 15,
    00025
    00026   SLW_SORTBY         = 16,
    00027   SLW_SORTDROPBTN    = 17,
    00028   SLW_PAN_SORT_RIGHT = 18,
    00029
    00030   SLW_CARGOSTART     = 19,
    00031 };
    00032
    00034 enum StationViewWidgets {
    00035   SVW_CLOSEBOX   =  0,
    00036   SVW_CAPTION    =  1,
    00037   SVW_WAITING    =  3,
    00038   SVW_ACCEPTLIST =  5,
    00039   SVW_RATINGLIST =  5,
    00040   SVW_LOCATION   =  6,
    00041   SVW_RATINGS    =  7,
    00042   SVW_ACCEPTS    =  7,
    00043   SVW_RENAME     =  8,
    00044   SVW_TRAINS     =  9,
    00045   SVW_ROADVEHS,
    00046   SVW_PLANES,
    00047   SVW_SHIPS,
    00048   SVW_RESIZE,
    00049 };
    00050
    00051 /* sorter stuff */
    00052 void RebuildStationLists();
    00053 void ResortStationLists();
    00054
    00055 enum StationCoverageType {
    00056   SCT_PASSENGERS_ONLY,
    00057   SCT_NON_PASSENGERS_ONLY,
    00058   SCT_ALL
    00059 };
    00060
    00061 int DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad);
    00062 void CheckRedrawStationCoverage(const Window *w);
    00063
    00064 extern bool _station_show_coverage;
    00065
    00066 #endif /* STATION_GUI_H */