#include "hotkey/command_executor.hpp"
#include "hotkey/hotkey_item.hpp"
#include "gui/gui.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/preferences.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>
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") |
#define DBG_G LOG_STREAM(debug, lg::general()) |
Definition at line 48 of file command_executor.cpp.
#define ERR_CF LOG_STREAM(err, log_config) |
Definition at line 49 of file command_executor.cpp.
#define ERR_G LOG_STREAM(err, lg::general()) |
Definition at line 45 of file command_executor.cpp.
#define LOG_G LOG_STREAM(info, lg::general()) |
Definition at line 47 of file command_executor.cpp.
#define LOG_HK LOG_STREAM(info, log_hotkey) |
Definition at line 50 of file command_executor.cpp.
#define WRN_G LOG_STREAM(warn, lg::general()) |
Definition at line 46 of file command_executor.cpp.
|
static |
|
static |