My Project
 All Classes Files Functions Variables Enumerations Pages
control_save.h
Go to the documentation of this file.
1 /**************************************************************************/
2 /* Copyright 2009 Tim Day */
3 /* */
4 /* This file is part of Fracplanet */
5 /* */
6 /* Fracplanet is free software: you can redistribute it and/or modify */
7 /* it under the terms of the GNU General Public License as published by */
8 /* the Free Software Foundation, either version 3 of the License, or */
9 /* (at your option) any later version. */
10 /* */
11 /* Fracplanet is distributed in the hope that it will be useful, */
12 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
13 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
14 /* GNU General Public License for more details. */
15 /* */
16 /* You should have received a copy of the GNU General Public License */
17 /* along with Fracplanet. If not, see <http://www.gnu.org/licenses/>. */
18 /**************************************************************************/
19 
23 #ifndef _control_save_h_
24 #define _control_save_h_
25 
26 #include "control.h"
27 #include "parameters_save.h"
28 
29 class FracplanetMain;
30 
32 class ControlSave : public Control
33 {
34  private:
35 
36  Q_OBJECT
37 
38  public:
39 
40  ControlSave(FracplanetMain* save_target,ParametersSave* param);
41 
42  ~ControlSave();
43 
44  public slots:
45 
46  void setAtmosphere(int v);
47  void setSeaSphere(int v);
48  void setPerVertexAlpha(int v);
49  void setTextureShaded(int v);
50  void setTextureHeight(int v);
51 
52  private:
53 
55  ParametersSave*const parameters;
56 };
57 
58 
59 
60 #endif