#include "global.hpp"#include "desktop/clipboard.hpp"#include "cursor.hpp"#include "events.hpp"#include "log.hpp"#include "sound.hpp"#include "quit_confirmation.hpp"#include "preferences.hpp"#include "video.hpp"#include <SDL.h>#include <algorithm>#include <cassert>#include <deque>#include <utility>#include <vector>#include <boost/thread.hpp>
Go to the source code of this file.
Namespaces | |
| events | |
| Handling of system events. | |
Macros | |
| #define | ERR_GEN LOG_STREAM(err, lg::general) |
| #define | INPUT_MIN 0x300 |
| #define | INPUT_MAX 0x8FF |
Functions | |
| void | events::focus_handler (const sdl_handler *ptr) |
| bool | events::has_focus (const sdl_handler *hand, const SDL_Event *event) |
| static bool | events::remove_on_resize (const SDL_Event &a) |
| void | events::pump () |
| 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... | |
| void | events::peek_for_resize () |
Variables | |
| std::deque< context > | events::event_contexts |
| context | events::global_context |
| std::vector< pump_monitor * > | events::pump_monitors |
| const Uint32 | events::resize_timeout = 100 |
| SDL_Event | events::last_resize_event |
| bool | events::last_resize_event_used = true |
| static const boost::thread::id | events::main_thread = boost::this_thread::get_id() |
| #define ERR_GEN LOG_STREAM(err, lg::general) |
Definition at line 39 of file events.cpp.
| #define INPUT_MAX 0x8FF |
Definition at line 650 of file events.cpp.
Referenced by events::discard_input(), and events::is_input().
| #define INPUT_MIN 0x300 |
Definition at line 649 of file events.cpp.
Referenced by events::discard_input(), and events::is_input().
1.8.8