ScummVM API documentation
options.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
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 as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
22
#ifndef _WII_OPTIONS_H_
23
#define _WII_OPTIONS_H_
24
25
#include "common/str.h"
26
#include "common/ustr.h"
27
#include "gui/dialog.h"
28
#include "gui/widgets/tab.h"
29
#include "gui/widgets/edittext.h"
30
31
using namespace
GUI
;
32
33
class
WiiOptionsDialog
final :
public
GUI::Dialog
{
34
typedef
Common::String
String
;
35
typedef
Common::U32String
U32String
;
36
37
public
:
38
WiiOptionsDialog
(
bool
doubleStrike);
39
virtual
~
WiiOptionsDialog
();
40
41
protected
:
42
void
handleTickle()
override
;
43
void
handleCommand(
CommandSender
*sender, uint32 cmd, uint32 data)
override
;
44
45
private
:
46
bool
_doubleStrike;
47
String _strUnderscanX;
48
String _strUnderscanY;
49
50
TabWidget
*_tab;
51
52
int
_tabVideo;
53
SliderWidget
*_sliderUnderscanX;
54
SliderWidget
*_sliderUnderscanY;
55
56
int
_tabInput;
57
SliderWidget
*_sliderPadSensitivity;
58
SliderWidget
*_sliderPadAcceleration;
59
60
#ifdef USE_WII_DI
61
int
_tabDVD;
62
StaticTextWidget
*_textDVDStatus;
63
#endif
64
65
#ifdef USE_WII_SMB
66
int
_tabSMB;
67
StaticTextWidget
*_textNetworkStatus;
68
StaticTextWidget
*_textSMBStatus;
69
EditTextWidget
*_editSMBServer;
70
EditTextWidget
*_editSMBShare;
71
EditTextWidget
*_editSMBUsername;
72
EditTextWidget
*_editSMBPassword;
73
#endif
74
75
void
revert();
76
void
load();
77
void
save();
78
};
79
80
#endif
Common::String
Definition:
str.h:59
GUI::EditTextWidget
Definition:
edittext.h:32
WiiOptionsDialog
Definition:
options.h:33
GUI::StaticTextWidget
Definition:
widget.h:205
GUI::SliderWidget
Definition:
widget.h:404
GUI
Definition:
system.h:46
Common::U32String
Definition:
ustr.h:57
GUI::Dialog
Definition:
dialog.h:49
GUI::TabWidget
Definition:
tab.h:36
GUI::CommandSender
Definition:
object.h:40
backends
platform
wii
options.h
Generated on Sat Aug 31 2024 09:04:04 for ScummVM API documentation by
1.8.13