The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Enumerations | Functions
command_executor.hpp File Reference
#include "hotkey_command.hpp"
#include "game_end_exceptions.hpp"
#include "events.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
 
class  hotkey::command_executor_default
 
class  hotkey::basic_handler
 

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::mbutton_event (const SDL_Event &event, command_executor *executor)
 
void hotkey::execute_command (const hotkey_command &command, command_executor *executor, int index, bool press)