#include "gui/core/event/handler.hpp"#include "events.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 "utils/ranges.hpp"#include <SDL2/SDL.h>#include <cassert>Go to the source code of this file.
Classes | |
| class | gui2::event::sdl_event_handler |
| This singleton class handles all events. More... | |
Namespaces | |
| gui2 | |
| Generic file dialog. | |
| gui2::event | |
Macros | |
| #define | GETTEXT_DOMAIN "wesnoth-lib" |
Functions | |
| void | gui2::event::connect_dispatcher (dispatcher *dispatcher) |
| Connects a dispatcher to the event handler. More... | |
| void | gui2::event::disconnect_dispatcher (dispatcher *dispatcher) |
| Disconnects a dispatcher to the event handler. More... | |
| std::vector< dispatcher * > & | gui2::event::get_all_dispatchers () |
| Gets all event dispatchers in the Z order. More... | |
| void | gui2::event::init_mouse_location () |
| Initializes the location of the mouse. More... | |
| void | gui2::event::capture_mouse (dispatcher *dispatcher) |
| Captures the mouse. More... | |
| void | gui2::event::release_mouse (dispatcher *dispatcher) |
| Releases a captured mouse. More... | |
| void | gui2::event::capture_keyboard (dispatcher *dispatcher) |
| Captures the keyboard. More... | |
| std::ostream & | gui2::event::operator<< (std::ostream &stream, const ui_event event) |
| bool | gui2::is_in_dialog () |
| Is a dialog open? More... | |
Variables | |
| static std::unique_ptr< class sdl_event_handler > | gui2::event::handler_ = nullptr |
| static std::unique_ptr< events::event_context > | gui2::event::event_context = nullptr |
| #define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 16 of file handler.cpp.