graph_widget.h

Go to the documentation of this file.
00001 /* $Id$ */
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_GRAPH_WIDGET_H
00013 #define WIDGETS_GRAPH_WIDGET_H
00014 
00015 #include "../economy_type.h"
00016 
00018 enum GraphLegendWidgets {
00019   WID_GL_BACKGROUND,    
00020 
00021   WID_GL_FIRST_COMPANY, 
00022   WID_GL_LAST_COMPANY = WID_GL_FIRST_COMPANY + MAX_COMPANIES - 1, 
00023 };
00024 
00026 enum CompanyValueWidgets {
00027   WID_CV_KEY_BUTTON, 
00028   WID_CV_BACKGROUND, 
00029   WID_CV_GRAPH,      
00030   WID_CV_RESIZE,     
00031 };
00032 
00034 enum PerformanceHistoryGraphWidgets {
00035   WID_PHG_KEY,                  
00036   WID_PHG_DETAILED_PERFORMANCE, 
00037   WID_PHG_BACKGROUND,           
00038   WID_PHG_GRAPH,                
00039   WID_PHG_RESIZE,               
00040 };
00041 
00043 enum CargoPaymentRatesWidgets {
00044   WID_CPR_BACKGROUND,      
00045   WID_CPR_HEADER,          
00046   WID_CPR_GRAPH,           
00047   WID_CPR_RESIZE,          
00048   WID_CPR_FOOTER,          
00049   WID_CPR_ENABLE_CARGOES,  
00050   WID_CPR_DISABLE_CARGOES, 
00051   WID_CPR_CARGO_FIRST,     
00052 };
00053 
00055 enum CompanyLeagueWidgets {
00056   WID_CL_BACKGROUND, 
00057 };
00058 
00060 enum PerformanceRatingDetailsWidgets {
00061   WID_PRD_SCORE_FIRST, 
00062   WID_PRD_SCORE_LAST = WID_PRD_SCORE_FIRST + (SCORE_END - SCORE_BEGIN) - 1, 
00063 
00064   WID_PRD_COMPANY_FIRST, 
00065   WID_PRD_COMPANY_LAST  = WID_PRD_COMPANY_FIRST + MAX_COMPANIES - 1, 
00066 };
00067 
00068 #endif /* WIDGETS_GRAPH_WIDGET_H */