station_widget.h

Go to the documentation of this file.
00001 /* $Id: station_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */
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_WAITING,            
00019   WID_SV_SCROLLBAR,          
00020   WID_SV_ACCEPT_RATING_LIST, 
00021   WID_SV_LOCATION,           
00022   WID_SV_ACCEPTS_RATINGS,    
00023   WID_SV_RENAME,             
00024   WID_SV_TRAINS,             
00025   WID_SV_ROADVEHS,           
00026   WID_SV_SHIPS,              
00027   WID_SV_PLANES,             
00028 };
00029 
00031 enum StationListWidgets {
00032   /* Name starts with ST instead of S, because of collision with SaveLoadWidgets */
00033   WID_STL_CAPTION,        
00034   WID_STL_LIST,           
00035   WID_STL_SCROLLBAR,      
00036 
00037   /* Vehicletypes need to be in order of StationFacility due to bit magic */
00038   WID_STL_TRAIN,          
00039   WID_STL_TRUCK,          
00040   WID_STL_BUS,            
00041   WID_STL_AIRPLANE,       
00042   WID_STL_SHIP,           
00043   WID_STL_FACILALL,       
00044 
00045   WID_STL_NOCARGOWAITING, 
00046   WID_STL_CARGOALL,       
00047 
00048   WID_STL_SORTBY,         
00049   WID_STL_SORTDROPBTN,    
00050 
00051   WID_STL_CARGOSTART,     
00052 };
00053 
00055 enum JoinStationWidgets {
00056   WID_JS_CAPTION,   // Caption of the window.
00057   WID_JS_PANEL,     // Main panel.
00058   WID_JS_SCROLLBAR, // Scrollbar of the panel.
00059 };
00060 
00061 #endif /* WIDGETS_STATION_WIDGET_H */