#include "gui/core/event/handler.hpp"
#include "hotkey/hotkey_command.hpp"
#include "utils/general.hpp"
#include <SDL2/SDL_events.h>
#include <cassert>
#include <functional>
#include <list>
#include <map>
#include <type_traits>
Go to the source code of this file.
|
template<typename... T> |
using | gui2::event::dispatcher_callback = std::function< void(widget &, const ui_event, bool &, bool &, T...)> |
| Callback function signature alias template. More...
|
|
using | gui2::event::signal = dispatcher_callback<> |
| Used for events in event_category::general. More...
|
|
using | gui2::event::signal_mouse = dispatcher_callback< const point & > |
| Used for events in event_category::mouse. More...
|
|
using | gui2::event::signal_keyboard = dispatcher_callback< const SDL_Keycode, const SDL_Keymod, const std::string & > |
| Used for events in event_category::keyboard. More...
|
|
using | gui2::event::signal_touch_motion = dispatcher_callback< const point &, const point & > |
| Used for events in event_category::touch_motion. More...
|
|
using | gui2::event::signal_touch_gesture = dispatcher_callback< const point &, float, float, uint8_t > |
| Used for events in event_category::touch_gesture. More...
|
|
using | gui2::event::signal_notification = dispatcher_callback< void * > |
| Used for events in event_category::notification. More...
|
|
using | gui2::event::signal_message = dispatcher_callback< const message & > |
| Used for events in event_category::message. More...
|
|
using | gui2::event::signal_raw_event = dispatcher_callback< const SDL_Event & > |
| Used for events in event_category::raw_event. More...
|
|
using | gui2::event::signal_text_input = dispatcher_callback< const std::string &, int32_t, int32_t > |
| Used for eventsin event_category::text_input. More...
|
|
using | gui2::event::hotkey_function = std::function< void(widget &dispatcher, hotkey::HOTKEY_COMMAND id)> |
| Hotkey function handler signature. More...
|
|