station_widget.h

Go to the documentation of this file.
00001 /* $Id: station_widget.h 25365 2013-06-09 13:08:52Z fonsinchen $ */
00002 
00003 /*
00004  * This file is part of OpenTTD.
00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
00008  */
00009 
00012 #ifndef WIDGETS_STATION_WIDGET_H
00013 #define WIDGETS_STATION_WIDGET_H
00014 
00016 enum StationViewWidgets {
00017   WID_SV_CAPTION,            
00018   WID_SV_SORT_ORDER,         
00019   WID_SV_SORT_BY,            
00020   WID_SV_GROUP,              
00021   WID_SV_GROUP_BY,           
00022   WID_SV_WAITING,            
00023   WID_SV_SCROLLBAR,          
00024   WID_SV_ACCEPT_RATING_LIST, 
00025   WID_SV_LOCATION,           
00026   WID_SV_ACCEPTS_RATINGS,    
00027   WID_SV_RENAME,             
00028   WID_SV_CLOSE_AIRPORT,      
00029   WID_SV_TRAINS,             
00030   WID_SV_ROADVEHS,           
00031   WID_SV_SHIPS,              
00032   WID_SV_PLANES,             
00033 };
00034 
00036 enum StationListWidgets {
00037   /* Name starts with ST instead of S, because of collision with SaveLoadWidgets */
00038   WID_STL_CAPTION,        
00039   WID_STL_LIST,           
00040   WID_STL_SCROLLBAR,      
00041 
00042   /* Vehicletypes need to be in order of StationFacility due to bit magic */
00043   WID_STL_TRAIN,          
00044   WID_STL_TRUCK,          
00045   WID_STL_BUS,            
00046   WID_STL_AIRPLANE,       
00047   WID_STL_SHIP,           
00048   WID_STL_FACILALL,       
00049 
00050   WID_STL_NOCARGOWAITING, 
00051   WID_STL_CARGOALL,       
00052 
00053   WID_STL_SORTBY,         
00054   WID_STL_SORTDROPBTN,    
00055 
00056   WID_STL_CARGOSTART,     
00057 };
00058 
00060 enum JoinStationWidgets {
00061   WID_JS_CAPTION,   // Caption of the window.
00062   WID_JS_PANEL,     // Main panel.
00063   WID_JS_SCROLLBAR, // Scrollbar of the panel.
00064 };
00065 
00066 #endif /* WIDGETS_STATION_WIDGET_H */