The Battle for Wesnoth  1.15.1+dev
Classes | Namespaces | Enumerations | Functions
command_executor.hpp File Reference
#include "hotkey_command.hpp"
#include "game_end_exceptions.hpp"
Include dependency graph for command_executor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hotkey::command_executor
 
struct  hotkey::command_executor::queued_command
 
class  hotkey::command_executor_default
 

Namespaces

 hotkey
 Keyboard shortcuts for game actions.
 

Enumerations

enum  hotkey::ACTION_STATE {
  hotkey::ACTION_STATELESS, hotkey::ACTION_ON, hotkey::ACTION_OFF, hotkey::ACTION_SELECTED,
  hotkey::ACTION_DESELECTED
}
 

Functions

void hotkey::jbutton_event (const SDL_Event &event, command_executor *executor)
 
void hotkey::jhat_event (const SDL_Event &event, command_executor *executor)
 
void hotkey::key_event (const SDL_Event &event, command_executor *executor)
 
void hotkey::keyup_event (const SDL_Event &, command_executor *executor)
 
void hotkey::mbutton_event (const SDL_Event &event, command_executor *executor)
 
void hotkey::run_events (command_executor *executor)