toolbar_widget.h

Go to the documentation of this file.
00001 /* $Id: toolbar_widget.h 25376 2013-06-09 13:37:04Z zuu $ */
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_TOOLBAR_WIDGET_H
00013 #define WIDGETS_TOOLBAR_WIDGET_H
00014 
00016 enum ToolbarNormalWidgets {
00017   WID_TN_PAUSE,         
00018   WID_TN_FAST_FORWARD,  
00019   WID_TN_SETTINGS,      
00020   WID_TN_SAVE,          
00021   WID_TN_SMALL_MAP,     
00022   WID_TN_TOWNS,         
00023   WID_TN_SUBSIDIES,     
00024   WID_TN_STATIONS,      
00025   WID_TN_FINANCES,      
00026   WID_TN_COMPANIES,     
00027   WID_TN_STORY,         
00028   WID_TN_GOAL,          
00029   WID_TN_GRAPHS,        
00030   WID_TN_LEAGUE,        
00031   WID_TN_INDUSTRIES,    
00032   WID_TN_VEHICLE_START, 
00033   WID_TN_TRAINS        = WID_TN_VEHICLE_START, 
00034   WID_TN_ROADVEHS,      
00035   WID_TN_SHIPS,         
00036   WID_TN_AIRCRAFTS,     
00037   WID_TN_ZOOM_IN,       
00038   WID_TN_ZOOM_OUT,      
00039   WID_TN_RAILS,         
00040   WID_TN_ROADS,         
00041   WID_TN_WATER,         
00042   WID_TN_AIR,           
00043   WID_TN_LANDSCAPE,     
00044   WID_TN_MUSIC_SOUND,   
00045   WID_TN_MESSAGES,      
00046   WID_TN_HELP,          
00047   WID_TN_SWITCH_BAR,    
00048   WID_TN_END,           
00049 };
00050 
00052 enum ToolbarEditorWidgets {
00053   WID_TE_PAUSE,         
00054   WID_TE_FAST_FORWARD,  
00055   WID_TE_SETTINGS,      
00056   WID_TE_SAVE,          
00057   WID_TE_SPACER,        
00058   WID_TE_DATE,          
00059   WID_TE_DATE_BACKWARD, 
00060   WID_TE_DATE_FORWARD,  
00061   WID_TE_SMALL_MAP,     
00062   WID_TE_ZOOM_IN,       
00063   WID_TE_ZOOM_OUT,      
00064   WID_TE_LAND_GENERATE, 
00065   WID_TE_TOWN_GENERATE, 
00066   WID_TE_INDUSTRY,      
00067   WID_TE_ROADS,         
00068   WID_TE_WATER,         
00069   WID_TE_TREES,         
00070   WID_TE_SIGNS,         
00071   WID_TE_DATE_PANEL,    
00072   /* The following three need to have the same actual widget number as the normal toolbar due to shared code. */
00073   WID_TE_MUSIC_SOUND = WID_TN_MUSIC_SOUND, 
00074   WID_TE_HELP        = WID_TN_HELP,        
00075   WID_TE_SWITCH_BAR  = WID_TN_SWITCH_BAR,  
00076 };
00077 
00078 #endif /* WIDGETS_TOOLBAR_WIDGET_H */