xoreos  0.0.5
options.h
Go to the documentation of this file.
1 /* xoreos - A reimplementation of BioWare's Aurora engine
2  *
3  * xoreos is the legal property of its developers, whose names
4  * can be found in the AUTHORS file distributed with this source
5  * distribution.
6  *
7  * xoreos is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 3
10  * of the License, or (at your option) any later version.
11  *
12  * xoreos is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with xoreos. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
25 #ifndef ENGINES_JADE_GUI_MAIN_OPTIONS_H
26 #define ENGINES_JADE_GUI_MAIN_OPTIONS_H
27 
28 #include "src/common/ustring.h"
29 
31 
32 namespace Engines {
33 
34 class WidgetButton;
35 class WidgetProtoItem;
36 
37 namespace Jade {
38 
39 class Module;
40 
42 public:
43  OptionsMenu(::Engines::Console *console = 0);
44 
45 private:
46  void createAudioOptions();
47  void createVideoOptions();
49  void createGameInfoOptions();
50  void createControlOptions();
51 
57 
64 
67 
69 
77 
78 protected:
79  void callbackActive(Widget &widget);
80  void callbackRun();
81 };
82 
83 } // End of namespace Jade
84 
85 } // End of namespace Engines
86 
87 #endif // ENGINES_JADE_GUI_MAIN_OPTIONS_H
Engines::WidgetLabel * _optionsDescription
Definition: options.h:68
OptionsMenu(::Engines::Console *console=0)
Common::ScopedPtr< GUI > _gameInfoOptions
Definition: options.h:55
A class holding an UTF-8 string.
Definition: ustring.h:48
void callbackRun()
Callback that&#39;s triggered periodically in the run() method.
Definition: options.cpp:109
Common::ScopedPtr< GUI > _videoOptions
Definition: options.h:53
Common::ScopedPtr< GUI > _controlOptions
Definition: options.h:56
Engines::KotORJadeWidget * _currentButton
Definition: options.h:66
Common::ScopedPtr< GUI > _audioOptions
Definition: options.h:52
void callbackActive(Widget &widget)
Callback that&#39;s triggered when a widget was activated.
Definition: options.cpp:135
Engines::WidgetProtoItem * _audioOptionsButton
Definition: options.h:58
A Jade Empire GUI.
Definition: gui.h:57
Common::UString _difficultyOptionsDescription
Definition: options.h:72
Common::UString _audioOptionsDescription
Definition: options.h:70
A scoped plain pointer, allowing pointer-y access and normal deletion.
Definition: scopedptr.h:120
Engines::WidgetProtoItem * _creditsButton
Definition: options.h:63
Engines::WidgetProtoItem * _controlOptionsButton
Definition: options.h:62
Engines::WidgetButton * _backButton
Definition: options.h:65
Unicode string handling.
A Jade Empire GUI.
Engines::WidgetProtoItem * _videoOptionsButton
Definition: options.h:59
Common::UString _controlOptionsDescription
Definition: options.h:74
A widget in a GUI.
Definition: widget.h:40
Engines::WidgetProtoItem * _gameInfoOptionsButton
Definition: options.h:61
Common::UString _videoOptionsDescription
Definition: options.h:71
Engines::WidgetProtoItem * _difficultyOptionsButton
Definition: options.h:60
Common::ScopedPtr< GUI > _difficultyOptions
Definition: options.h:54
Common::UString _gameInfoOptionsDescription
Definition: options.h:73
Common::UString _creditsDescription
Definition: options.h:75
Common::UString _backButtonDescription
Definition: options.h:76