#include <command_executor.hpp>
Public Member Functions | |
basic_handler (command_executor *exec) | |
void | handle_event (const SDL_Event &event) |
void | handle_window_event (const SDL_Event &) |
Public Member Functions inherited from events::sdl_handler | |
virtual void | process_event () |
virtual void | draw () |
virtual void | volatile_draw () |
virtual void | volatile_undraw () |
virtual bool | requires_event_focus (const SDL_Event *=nullptr) const |
virtual void | process_help_string (int, int) |
virtual void | process_tooltip_string (int, int) |
virtual void | join () |
virtual void | join (context &c) |
virtual void | join_same (sdl_handler *parent) |
virtual void | leave () |
virtual void | join_global () |
virtual void | leave_global () |
Private Attributes | |
command_executor * | exec_ |
Additional Inherited Members | |
Protected Member Functions inherited from events::sdl_handler | |
sdl_handler (const bool auto_join=true) | |
virtual | ~sdl_handler () |
virtual std::vector < sdl_handler * > | handler_members () |
Definition at line 173 of file command_executor.hpp.
hotkey::basic_handler::basic_handler | ( | command_executor * | exec | ) |
Definition at line 492 of file command_executor.cpp.
|
virtual |
Implements events::sdl_handler.
Definition at line 494 of file command_executor.cpp.
References hotkey::event_execute(), exec_, gui::in_dialog(), hotkey::jbutton_event(), hotkey::key_event(), and hotkey::mbutton_event().
|
inlinevirtual |
Implements events::sdl_handler.
Definition at line 179 of file command_executor.hpp.
|
private |
Definition at line 182 of file command_executor.hpp.
Referenced by handle_event().