newgrf_widget.h

Go to the documentation of this file.
00001 /* $Id: newgrf_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_NEWGRF_WIDGET_H
00013 #define WIDGETS_NEWGRF_WIDGET_H
00014 
00015 #include "../newgrf_config.h"
00016 
00018 enum NewGRFParametersWidgets {
00019   WID_NP_SHOW_NUMPAR,      
00020   WID_NP_NUMPAR_DEC,       
00021   WID_NP_NUMPAR_INC,       
00022   WID_NP_NUMPAR,           
00023   WID_NP_NUMPAR_TEXT,      
00024   WID_NP_BACKGROUND,       
00025   WID_NP_SCROLLBAR,        
00026   WID_NP_ACCEPT,           
00027   WID_NP_RESET,            
00028   WID_NP_SHOW_DESCRIPTION, 
00029   WID_NP_DESCRIPTION,      
00030 };
00031 
00033 enum NewGRFTextfileWidgets {
00034   WID_NT_CAPTION,    
00035   WID_NT_BACKGROUND, 
00036   WID_NT_VSCROLLBAR, 
00037   WID_NT_HSCROLLBAR, 
00038 };
00039 
00041 enum NewGRFStateWidgets {
00042   WID_NS_PRESET_LIST,       
00043   WID_NS_PRESET_SAVE,       
00044   WID_NS_PRESET_DELETE,     
00045   WID_NS_ADD,               
00046   WID_NS_REMOVE,            
00047   WID_NS_MOVE_UP,           
00048   WID_NS_MOVE_DOWN,         
00049   WID_NS_FILTER,            
00050   WID_NS_FILE_LIST,         
00051   WID_NS_SCROLLBAR,         
00052   WID_NS_AVAIL_LIST,        
00053   WID_NS_SCROLL2BAR,        
00054   WID_NS_NEWGRF_INFO_TITLE, 
00055   WID_NS_NEWGRF_INFO,       
00056   WID_NS_OPEN_URL,          
00057   WID_NS_NEWGRF_TEXTFILE,   
00058   WID_NS_SET_PARAMETERS = WID_NS_NEWGRF_TEXTFILE + TFT_END,   
00059   WID_NS_TOGGLE_PALETTE,    
00060   WID_NS_APPLY_CHANGES,     
00061   WID_NS_RESCAN_FILES,      
00062   WID_NS_RESCAN_FILES2,     
00063   WID_NS_CONTENT_DOWNLOAD,  
00064   WID_NS_CONTENT_DOWNLOAD2, 
00065   WID_NS_SHOW_REMOVE,       
00066   WID_NS_SHOW_APPLY,        
00067 };
00068 
00070 enum ScanProgressWidgets {
00071   WID_SP_PROGRESS_BAR,  
00072   WID_SP_PROGRESS_TEXT, 
00073 };
00074 
00075 #endif /* WIDGETS_NEWGRF_WIDGET_H */