22#ifndef SCUMM_DIALOGS_H
23#define SCUMM_DIALOGS_H
25#include "common/str.h"
26#include "common/ustr.h"
27#include "common/keyboard.h"
28#include "gui/dialog.h"
29#include "engines/dialogs.h"
33class StaticTextWidget;
87 void setInfoText(
const U32String &message);
89 void handleMouseDown(
int x,
int y,
int button,
int clickCount)
override {
94 setResult(state.
ascii);
98 void reflowLayout()
override;
99 const char *getPlainEngineString(
int stringno,
bool forceHardcodedString =
false);
103 const U32String queryResString(
int stringno);
128 char _yesKey, _noKey;
139 void open()
override;
140 void drawDialog(GUI::DrawLayer layerToDraw,
bool resetClipping =
true)
override;
141 void handleTickle()
override;
142 void handleMouseDown(
int x,
int y,
int button,
int clickCount)
override {
147 void reflowLayout()
override;
154 const int _min = 0, _max = 0;
155 const uint16 _incKey = 0, _decKey = 0;
156 int _percentBarWidth = 0;
169 void open()
override;
170 void handleTickle()
override;
171 void handleMouseDown(
int x,
int y,
int button,
int clickCount)
override {
205 int getSelectedDifficulty()
const {
return _difficulty; }
211 kStandardCmd =
'STDD',
212 kPracticeCmd =
'PRAD',
229 kEnhancementGroup1Cmd =
'ENH1',
230 kEnhancementGroup2Cmd =
'ENH2',
231 kEnhancementGroup3Cmd =
'ENH3',
232 kEnhancementGroup4Cmd =
'ENH4'
239 void createEnhancementsWidget(GuiObject *boss,
const Common::String &name);
267 kSmoothScrollCmd =
'SMSC'
296 kOvertureTicksChanged =
'OTCH'
311 void updateOvertureTicksValue();
326 kQualitySliderUpdate =
'QUAL'
330 void updateQualitySlider();
356 kPlaybackAdjustmentChanged =
'PBAC'
370 void updatePlaybackAdjustmentValue();
386 kIntroAdjustmentChanged =
'IACH',
387 kOutlookAdjustmentChanged =
'OACH'
405 void updateIntroAdjustmentValue();
406 void updateOutlookAdjustmentValue();
415class HENetworkGameOptionsWidget :
public ScummOptionsContainerWidget {
418 ~HENetworkGameOptionsWidget()
override {};
420 void load()
override;
421 bool save()
override;
425 kEnableSessionCmd =
'ENBS',
426 kResetServersCmd =
'CLRS',
Definition: edittext.h:32
FontStyle
Font style selector.
Definition: ThemeEngine.h:274
Definition: ThemeEval.h:37
Definition: dialogs.h:122
Definition: dialogs.h:183
Definition: dialogs.h:201
Definition: dialogs.h:112
Definition: dialogs.h:165
Definition: dialogs.h:135
void drawDialog(GUI::DrawLayer layerToDraw, bool resetClipping=true) override
Language
Definition: language.h:45
Definition: keyboard.h:294
uint16 ascii
Definition: keyboard.h:310