station_gui.h

Go to the documentation of this file.
00001 /* $Id: station_gui.h 14919 2009-01-08 16:35:45Z rubidium $ */
00002 
00005 #ifndef STATION_GUI_H
00006 #define STATION_GUI_H
00007 
00008 #include "command_type.h"
00009 
00011 enum StationListWidgets {
00012   SLW_CLOSEBOX       =  0, 
00013 
00014   SLW_LIST           =  3, 
00015 
00016   SLW_TRAIN          =  6, 
00017   SLW_TRUCK,
00018   SLW_BUS,
00019   SLW_AIRPLANE,
00020   SLW_SHIP,
00021   SLW_FACILALL,            
00022 
00023   SLW_PAN_BETWEEN    = 12, 
00024   SLW_NOCARGOWAITING = 13, 
00025   SLW_CARGOALL       = 14, 
00026   SLW_PAN_RIGHT      = 15, 
00027 
00028   SLW_SORTBY         = 16, 
00029   SLW_SORTDROPBTN    = 17, 
00030   SLW_PAN_SORT_RIGHT = 18, 
00031 
00032   SLW_CARGOSTART     = 19, 
00033 };
00034 
00036 enum StationViewWidgets {
00037   SVW_CLOSEBOX   =  0, 
00038   SVW_CAPTION    =  1, 
00039   SVW_WAITING    =  3, 
00040   SVW_ACCEPTLIST =  5, 
00041   SVW_RATINGLIST =  5, 
00042   SVW_LOCATION   =  6, 
00043   SVW_RATINGS    =  7, 
00044   SVW_ACCEPTS    =  7, 
00045   SVW_RENAME     =  8, 
00046   SVW_TRAINS     =  9, 
00047   SVW_ROADVEHS,        
00048   SVW_PLANES,          
00049   SVW_SHIPS,           
00050   SVW_RESIZE,          
00051 };
00052 
00053 enum StationCoverageType {
00054   SCT_PASSENGERS_ONLY,
00055   SCT_NON_PASSENGERS_ONLY,
00056   SCT_ALL
00057 };
00058 
00059 int DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad, bool supplies);
00060 void CheckRedrawStationCoverage(const Window *w);
00061 
00062 void ShowSelectStationIfNeeded(CommandContainer cmd, int w, int h);
00063 
00064 #endif /* STATION_GUI_H */

Generated on Fri Jan 9 19:01:51 2009 for openttd by  doxygen 1.5.6