news_widget.h

Go to the documentation of this file.
00001 /* $Id: news_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_NEWS_WIDGET_H
00013 #define WIDGETS_NEWS_WIDGET_H
00014 
00015 #include "../news_type.h"
00016 
00018 enum NewsWidgets {
00019   WID_N_PANEL,       
00020   WID_N_TITLE,       
00021   WID_N_HEADLINE,    
00022   WID_N_CLOSEBOX,    
00023   WID_N_DATE,        
00024   WID_N_CAPTION,     
00025   WID_N_INSET,       
00026   WID_N_VIEWPORT,    
00027   WID_N_COMPANY_MSG, 
00028   WID_N_MESSAGE,     
00029   WID_N_MGR_FACE,    
00030   WID_N_MGR_NAME,    
00031   WID_N_VEH_TITLE,   
00032   WID_N_VEH_BKGND,   
00033   WID_N_VEH_NAME,    
00034   WID_N_VEH_SPR,     
00035   WID_N_VEH_INFO,    
00036 };
00037 
00039 enum MessageHistoryWidgets {
00040   WID_MH_STICKYBOX,  
00041   WID_MH_BACKGROUND, 
00042   WID_MH_SCROLLBAR,  
00043 };
00044 
00046 enum MessageOptionWidgets {
00047   WID_MO_BACKGROUND,        
00048   WID_MO_LABEL,             
00049   WID_MO_DROP_SUMMARY,      
00050   WID_MO_LABEL_SUMMARY,     
00051   WID_MO_SOUNDTICKER,       
00052   WID_MO_SOUNDTICKER_LABEL, 
00053 
00054   WID_MO_START_OPTION,      
00055   WID_MO_END_OPTION = WID_MO_START_OPTION + NT_END * MOS_WIDG_PER_SETTING, 
00056 };
00057 
00058 #endif /* WIDGETS_NEWS_WIDGET_H */