19 #ifndef HEADER_RECOMMEND_VIDEO_SETTINGS_HPP
20 #define HEADER_RECOMMEND_VIDEO_SETTINGS_HPP
22 #include "guiengine/modaldialog.hpp"
23 #include "guiengine/screen.hpp"
41 GUIEngine::EventPropagation
processEvent(
const std::string& eventSource);
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
Dialog that asks the player some questions before starting a benchmark to recommend video settings.
Definition: recommend_video_settings.hpp:31
RecommendVideoSettingsDialog(const float percentWidth, const float percentHeight)
Creates a modal dialog with given percentage of screen width and height.
Definition: recommend_video_settings.cpp:37
GUIEngine::EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: recommend_video_settings.cpp:68
virtual void beforeAddingWidgets()
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: recommend_video_settings.cpp:51