#include "gui/core/event/handler.hpp"
#include "gui/core/event/dispatcher.hpp"
#include "gui/core/timer.hpp"
#include "gui/core/log.hpp"
#include "gui/widgets/helper.hpp"
#include "gui/widgets/widget.hpp"
#include "gui/widgets/window.hpp"
#include "hotkey/hotkey_item.hpp"
#include "video.hpp"
#include "serialization/unicode_cast.hpp"
#include <cassert>
Go to the source code of this file.
Classes | |
class | gui2::event::thandler |
This singleton class handles all events. More... | |
Namespaces | |
gui2 | |
A class inherited from ttext_box that displays its input as stars. | |
gui2::event | |
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-lib" |
Functions | |
void | gui2::event::connect_dispatcher (tdispatcher *dispatcher) |
Connects a dispatcher to the event handler. More... | |
void | gui2::event::disconnect_dispatcher (tdispatcher *dispatcher) |
Disconnects a dispatcher to the event handler. More... | |
void | gui2::event::init_mouse_location () |
Initializes the location of the mouse. More... | |
void | gui2::event::capture_mouse (tdispatcher *dispatcher) |
Captures the mouse. More... | |
void | gui2::event::release_mouse (tdispatcher *dispatcher) |
Releases a captured mouse. More... | |
void | gui2::event::capture_keyboard (tdispatcher *dispatcher) |
Captures the keyboard. More... | |
std::ostream & | gui2::event::operator<< (std::ostream &stream, const tevent event) |
bool | gui2::is_in_dialog () |
Is a dialog open? More... | |
Variables | |
static thandler * | gui2::event::handler = nullptr |
static events::event_context * | gui2::event::event_context = nullptr |
#define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 15 of file handler.cpp.