ScummVM API documentation
dialogs.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 NEVERHOOD_DIALOGS_H
23#define NEVERHOOD_DIALOGS_H
24
25#include "neverhood/neverhood.h"
26
27#include "common/events.h"
28#include "common/str.h"
29#include "common/ustr.h"
30
31#include "engines/dialogs.h"
32
33#include "gui/dialog.h"
34#include "gui/widget.h"
35
36namespace GUI {
37class PopUpWidget;
38}
39
40namespace Neverhood {
41
42class NeverhoodEngine;
43
45public:
46 NeverhoodOptionsWidget(GuiObject *boss, const Common::String &name, const Common::String &domain);
47 ~NeverhoodOptionsWidget() override;
48
49 // OptionsContainerWidget API
50 void load() override;
51 bool save() override;
52
53private:
54 // OptionsContainerWidget API
55 void defineLayout(GUI::ThemeEval &layouts, const Common::String &layoutName, const Common::String &overlayedLayout) const override;
56
57 GUI::CheckboxWidget *_originalSaveLoadCheckbox;
58 GUI::CheckboxWidget *_skipHallOfRecordsCheckbox;
59 GUI::CheckboxWidget *_scaleMakingOfVideosCheckbox;
60 GUI::CheckboxWidget *_repeatWillieHint;
61
62 GUI::PopUpWidget *_nhcPopUp;
63 Common::StringArray _nhcFiles;
64};
65
66} // End of namespace Neverhood
67
68#endif
Definition: str.h:59
Definition: widget.h:338
Definition: widget.h:542
Definition: popup.h:39
Definition: ThemeEval.h:37
Definition: dialogs.h:44