19 #ifndef HEADER_PRESSAKEY_DIALOG_HPP
20 #define HEADER_PRESSAKEY_DIALOG_HPP
22 #include "guiengine/modaldialog.hpp"
34 PressAKeyDialog(
const float percentWidth,
const float percentHeight,
const bool isKeyboardFlag);
35 GUIEngine::EventPropagation
processEvent(
const std::string& eventSource);
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
Dialog shown when editing input bindings and it's time to press a key.
Definition: press_a_key_dialog.hpp:29
PressAKeyDialog(const float percentWidth, const float percentHeight, const bool isKeyboardFlag)
Creates a modal dialog with given percentage of screen width and height.
Definition: press_a_key_dialog.cpp:36
GUIEngine::EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: press_a_key_dialog.cpp:57