The Battle for Wesnoth  1.19.0-dev
Namespaces | Macros | Functions | Variables
command_executor.cpp File Reference
#include "hotkey/command_executor.hpp"
#include "hotkey/hotkey_item.hpp"
#include "gui/dialogs/achievements_dialog.hpp"
#include "gui/dialogs/lua_interpreter.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/screenshot_notification.hpp"
#include "gui/dialogs/drop_down_menu.hpp"
#include "gui/widgets/retval.hpp"
#include "filesystem.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "preferences/general.hpp"
#include "display.hpp"
#include "quit_confirmation.hpp"
#include "sdl/surface.hpp"
#include "../resources.hpp"
#include "../playmp_controller.hpp"
#include "sdl/input.hpp"
#include "video.hpp"
#include <ios>
#include <set>
Include dependency graph for command_executor.cpp:

Go to the source code of this file.

Namespaces

 hotkey
 Keyboard shortcuts for game actions.
 

Macros

#define ERR_G   LOG_STREAM(err, lg::general())
 
#define WRN_G   LOG_STREAM(warn, lg::general())
 
#define LOG_G   LOG_STREAM(info, lg::general())
 
#define DBG_G   LOG_STREAM(debug, lg::general())
 
#define ERR_CF   LOG_STREAM(err, log_config)
 
#define LOG_HK   LOG_STREAM(info, log_hotkey)
 

Functions

static void hotkey::event_queue (const SDL_Event &event, command_executor *executor)
 
void hotkey::mbutton_event (const SDL_Event &event, command_executor *executor)
 
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::run_events (command_executor *executor)
 

Variables

static lg::log_domain log_config ("config")
 
static lg::log_domain log_hotkey ("hotkey")
 

Macro Definition Documentation

◆ DBG_G

#define DBG_G   LOG_STREAM(debug, lg::general())

Definition at line 47 of file command_executor.cpp.

◆ ERR_CF

#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 48 of file command_executor.cpp.

◆ ERR_G

#define ERR_G   LOG_STREAM(err, lg::general())

Definition at line 44 of file command_executor.cpp.

◆ LOG_G

#define LOG_G   LOG_STREAM(info, lg::general())

Definition at line 46 of file command_executor.cpp.

◆ LOG_HK

#define LOG_HK   LOG_STREAM(info, log_hotkey)

Definition at line 49 of file command_executor.cpp.

◆ WRN_G

#define WRN_G   LOG_STREAM(warn, lg::general())

Definition at line 45 of file command_executor.cpp.

Variable Documentation

◆ log_config

lg::log_domain log_config("config") ( "config"  )
static

◆ log_hotkey

lg::log_domain log_hotkey("hotkey") ( "hotkey"  )
static