#include <SDL_events.h>
#include <SDL_version.h>
#include <vector>
Go to the source code of this file.
Classes | |
struct | events::context |
class | events::sdl_handler |
struct | events::event_context |
struct | events::pump_info |
class | events::pump_monitor |
Namespaces | |
events | |
Handling of system events. | |
Macros | |
#define | DOUBLE_CLICK_EVENT SDL_USEREVENT |
#define | TIMER_EVENT (SDL_USEREVENT + 1) |
#define | HOVER_REMOVE_POPUP_EVENT (SDL_USEREVENT + 2) |
#define | DRAW_EVENT (SDL_USEREVENT + 3) |
#define | CLOSE_WINDOW_EVENT (SDL_USEREVENT + 4) |
#define | SHOW_HELPTIP_EVENT (SDL_USEREVENT + 5) |
#define | DRAW_ALL_EVENT (SDL_USEREVENT + 6) |
Typedefs | |
typedef std::vector < events::sdl_handler * > | sdl_handler_vector |
Functions | |
void | events::focus_handler (const sdl_handler *ptr) |
void | events::cycle_focus () |
bool | events::has_focus (const sdl_handler *hand, const SDL_Event *event) |
void | events::pump () |
void | events::peek_for_resize () |
void | events::raise_process_event () |
void | events::raise_resize_event () |
void | events::raise_draw_event () |
void | events::raise_draw_all_event () |
void | events::raise_volatile_draw_event () |
void | events::raise_volatile_draw_all_event () |
void | events::raise_volatile_undraw_event () |
void | events::raise_help_string_event (int mousex, int mousey) |
bool | events::is_input (const SDL_Event &event) |
Is the event an input event? More... | |
void | events::discard_input () |
Discards all input events. More... | |
#define CLOSE_WINDOW_EVENT (SDL_USEREVENT + 4) |
Definition at line 27 of file events.hpp.
Referenced by gui2::event::thandler::handle_event(), and gui2::twindow::show().
#define DOUBLE_CLICK_EVENT SDL_USEREVENT |
Definition at line 23 of file events.hpp.
Referenced by mp::gamebrowser::handle_event(), gui2::event::thandler::handle_event(), gui::menu::handle_event(), events::pump(), and gui2::tdialog::show().
#define DRAW_ALL_EVENT (SDL_USEREVENT + 6) |
Definition at line 29 of file events.hpp.
Referenced by storyscreen::part_ui::handle_event(), gui::widget::handle_event(), gui::dialog_frame::handle_event(), gui2::event::thandler::handle_event(), display::handle_event(), CVideo::video_event_handler::handle_window_event(), events::pump(), events::remove_on_resize(), and video2::trigger_full_redraw().
#define DRAW_EVENT (SDL_USEREVENT + 3) |
Definition at line 26 of file events.hpp.
Referenced by gui::dialog_frame::handle_event(), gui2::event::thandler::handle_event(), and events::remove_on_resize().
#define HOVER_REMOVE_POPUP_EVENT (SDL_USEREVENT + 2) |
Definition at line 25 of file events.hpp.
Referenced by gui2::event::thandler::handle_event().
#define SHOW_HELPTIP_EVENT (SDL_USEREVENT + 5) |
Definition at line 28 of file events.hpp.
Referenced by gui2::event::thandler::handle_event(), and events::remove_on_resize().
#define TIMER_EVENT (SDL_USEREVENT + 1) |
Definition at line 24 of file events.hpp.
Referenced by gui2::event::thandler::handle_event(), and gui2::timer_callback().
typedef std::vector<events::sdl_handler*> sdl_handler_vector |
Definition at line 163 of file events.hpp.