The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
hotkey::basic_handler Class Reference

#include <command_executor.hpp>

Inheritance diagram for hotkey::basic_handler:
Inheritance graph

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_executorexec_
 

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 ()
 

Detailed Description

Definition at line 173 of file command_executor.hpp.

Constructor & Destructor Documentation

hotkey::basic_handler::basic_handler ( command_executor exec)

Definition at line 492 of file command_executor.cpp.

Member Function Documentation

void hotkey::basic_handler::handle_event ( const SDL_Event &  event)
virtual
void hotkey::basic_handler::handle_window_event ( const SDL_Event &  )
inlinevirtual

Implements events::sdl_handler.

Definition at line 179 of file command_executor.hpp.

Member Data Documentation

command_executor* hotkey::basic_handler::exec_
private

Definition at line 182 of file command_executor.hpp.

Referenced by handle_event().


The documentation for this class was generated from the following files: