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" 33 class 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)
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, _max;
155 const uint16 _incKey, _decKey;
156 int _percentBarWidth;
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',
225 OptionsContainerWidget(boss, name, dialogLayout, domain) {
229 kEnhancementGroup1Cmd =
'ENH1',
230 kEnhancementGroup2Cmd =
'ENH2',
231 kEnhancementGroup3Cmd =
'ENH3',
232 kEnhancementGroup4Cmd =
'ENH4' 235 void load()
override;
236 bool save()
override;
239 void createEnhancementsWidget(GuiObject *boss,
const Common::String &name);
257 void load()
override;
258 bool save()
override;
262 kSmoothScrollCmd =
'SMSC' 283 void load()
override;
284 bool save()
override;
288 kOvertureTicksChanged =
'OTCH' 300 void updateOvertureTicksValue();
311 void load()
override;
312 bool save()
override;
315 kQualitySliderUpdate =
'QUAL' 319 void updateQualitySlider();
336 void load()
override;
337 bool save()
override;
341 kPlaybackAdjustmentChanged =
'PBAC' 352 void updatePlaybackAdjustmentValue();
363 void load()
override;
364 bool save()
override;
368 kIntroAdjustmentChanged =
'IACH',
369 kOutlookAdjustmentChanged =
'OACH' 382 void updateIntroAdjustmentValue();
383 void updateOutlookAdjustmentValue();
395 ~HENetworkGameOptionsWidget()
override {};
397 void load()
override;
398 bool save()
override;
402 kEnableSessionCmd =
'ENBS',
403 kResetServersCmd =
'CLRS',
Definition: edittext.h:32
Definition: dialogs.h:183
Definition: dialogs.h:201
Definition: ThemeEval.h:37
Definition: dialogs.h:135
Definition: dialogs.h:165
FontStyle
Font style selector.
Definition: ThemeEngine.h:274
Definition: keyboard.h:294
uint16 ascii
Definition: keyboard.h:310
Definition: dialogs.h:112
Language
Definition: language.h:45
Definition: dialogs.h:122