18 #ifndef HEADER_RACE_PAUSED_DIALOG_HPP
19 #define HEADER_RACE_PAUSED_DIALOG_HPP
21 #include "guiengine/modaldialog.hpp"
22 #include "guiengine/widgets/text_box_widget.hpp"
23 #include "utils/cpp2011.hpp"
35 enum KartTeam : int8_t;
45 KartTeam m_target_team;
47 bool m_from_overworld;
51 GE::GEVulkanDriver* m_vk_pbr_toggle;
53 virtual void onTextUpdated() OVERRIDE {}
54 void handleChat(
const irr::core::stringw& text);
55 virtual bool onEnterPressed(
const irr::core::stringw& text) OVERRIDE;
57 void updateTouchDeviceIcon();
68 virtual void onEnterPressedInternal() OVERRIDE;
69 GUIEngine::EventPropagation
processEvent(
const std::string& eventSource)
72 virtual void init() OVERRIDE;
79 ModalDialog::dismiss();
Definition: text_box_widget.hpp:42
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
A text field widget.
Definition: text_box_widget.hpp:53
Dialog shown when the race is paused.
Definition: race_paused_dialog.hpp:43
virtual void loadedFromFile() OVERRIDE
Callback invoked when the dialog was loaded from the XML file (if the constructor that takes a XML fi...
Definition: race_paused_dialog.cpp:201
GUIEngine::EventPropagation processEvent(const std::string &eventSource) OVERRIDE
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: race_paused_dialog.cpp:255
RacePausedDialog(const float percentWidth, const float percentHeight)
Creates a modal dialog with given percentage of screen width and height.
Definition: race_paused_dialog.cpp:67
virtual void init() OVERRIDE
Optional callback invoked after widgets have been add()ed.
Definition: race_paused_dialog.cpp:551
virtual void onUpdate(float dt) OVERRIDE
Override to be notified of updates.
Definition: race_paused_dialog.hpp:74
virtual void beforeAddingWidgets() OVERRIDE
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: race_paused_dialog.cpp:447
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33