1 /*
2  * CRRCsim - the Charles River Radio Control Club Flight Simulator Project
3  *
4  * Copyright (C) 2005, 2006, 2008 Jens Wilhelm Wulf (original author)
5  * Copyright (C) 2008 Jan Reucker
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2
9  * as published by the Free Software Foundation.
10  *
11  * This program 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 this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330,
19  * Boston, MA 02111-1307, USA.
20  *
21  */
22 
23 
24 // crrc_WINDTHERMAL.h - Airplane selection dialog
25 
26 #ifndef CRRC_WINDTHERMAL_H
27 #define CRRC_WINDTHERMAL_H
28 
29 #include <plib/pu.h>
30 #include <plib/puAux.h>
31 
32 #include "crrc_dialog.h"
33 #include "crrc_slider.h"
34 #include "../mod_misc/SimpleXMLTransfer.h"
35 
36 class CGUIWindThermalDialog;
37 
38 /** \brief The WindThermal options dialog.
39  *
40  */
41 class CGUIWindThermalDialog : public CRRCDialog
42 {
43   public:
44     CGUIWindThermalDialog();
45     ~CGUIWindThermalDialog();
46 
47     puaComboBox*       comboPresetsWind;
48     char**             presetsWind;
49     SimpleXMLTransfer* presetGrpWind;
50     int                nPresetsWind;
51 
52     puaComboBox*       comboPresetsThermal;
53     char**             presetsThermal;
54     SimpleXMLTransfer* presetGrpThermal;
55     int                nPresetsThermal;
56 
57     crrcSlider*        slider_windVelocity;
58     crrcSlider*        slider_windDir;
59     crrcSlider*        slider_windTurbulence;
60 
61     crrcSlider*        slider_thermalStrengthMean;
62     crrcSlider*        slider_thermalStrengthSigma;
63     crrcSlider*        slider_thermalRadiusMean;
64     crrcSlider*        slider_thermalRadiusSigma;
65     crrcSlider*        slider_thermalLifetimeMean;
66     crrcSlider*        slider_thermalLifetimeSigma;
67     crrcSlider*        slider_thermalDensity;
68 
69     puInput*           inputNewWind;
70     puInput*           inputNewThermal;
71 
72     // Thermal v3 data is not adjustable in GUI, but it has to be handled
73     SimpleXMLTransfer* thermalv3data;
74 };
75 
76 #endif // CRRC_WINDTHERMAL_H
77