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"
30enum KartTeam : int8_t;
40 KartTeam m_target_team;
42 bool m_from_overworld;
47 virtual void onTextUpdated() OVERRIDE {}
48 void handleChat(
const irr::core::stringw& text);
49 virtual bool onEnterPressed(
const irr::core::stringw& text) OVERRIDE;
51 void updateTouchDeviceIcon();
62 virtual void onEnterPressedInternal() OVERRIDE;
63 GUIEngine::EventPropagation
processEvent(
const std::string& eventSource)
66 virtual void init() OVERRIDE;
73 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:38
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:188
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:230
virtual void init() OVERRIDE
Optional callback invoked after widgets have been add()ed.
Definition: race_paused_dialog.cpp:495
virtual void onUpdate(float dt) OVERRIDE
Override to be notified of updates.
Definition: race_paused_dialog.hpp:68
virtual void beforeAddingWidgets() OVERRIDE
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: race_paused_dialog.cpp:404
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33