Back to index

extremetuxracer  0.5beta
graphicsconfig.h
Go to the documentation of this file.
00001 /* 
00002  * Extreme Tux Racer
00003  * Copyleft 2007-2008 The ETR Team <http://www.extremetuxracer.com/>
00004  * 
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  * 
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  * 
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018  */
00019  
00020 #ifndef _GRAPHICS_CONFIG_H
00021 #define _GRAPHICS_CONFIG_H
00022 
00023 #include "configmode.h"
00024 #include "model_hndl.h"
00025 
00026 #include "ppgltk/checkbox.h"
00027 #include "ppgltk/listbox.h"
00028 
00029 
00030 class GraphicsConfig : public ConfigMode
00031 {
00032        pp::CheckBox* mp_uiSnowBox;
00033        pp::CheckBox* mp_fpsBox;
00034        pp::CheckBox* mp_coursePercentageBox;
00035        pp::CheckBox* mp_fogBox;
00036        pp::CheckBox* mp_reflectionsBox;
00037        pp::CheckBox* mp_shadowsBox;
00038        pp::CheckBox* mp_backgroundBox;
00039        
00040 //     pp::Listbox<language_t>* mp_langListBox;
00041        pp::Listbox<model_t>* mp_modelListBox;
00042        
00043 //     std::list<language_t> m_langList;
00044        std::list<model_t> m_modelList;
00045 public:
00046        GraphicsConfig();
00047        ~GraphicsConfig();
00048 
00049        void setWidgetPositions();
00050        void apply();
00051 };
00052 
00053 #endif // GRAPHICS_CONFIG_H