#include "hotkey/hotkey_command.hpp"
#include "config.hpp"
#include "gettext.hpp"
#include "hotkey/hotkey_item.hpp"
#include "log.hpp"
#include <array>
#include <set>
#include <string_view>
Go to the source code of this file.
Classes | |
struct | hotkey::hotkey_command_temp |
Namespaces | |
hotkey | |
Keyboard shortcuts for game actions. | |
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-lib" |
#define | ERR_G LOG_STREAM(err, 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) |
Functions | |
bool | hotkey::is_scope_active (scope s) |
bool | hotkey::is_scope_active (hk_scopes s) |
const hotkey_command & | hotkey::get_hotkey_command (const std::string &command) |
returns the hotkey_command with the given name More... | |
const std::map< std::string_view, hotkey::hotkey_command > & | hotkey::get_hotkey_commands () |
returns a container that contains all currently active hotkey_commands. More... | |
bool | hotkey::has_hotkey_command (const std::string &id) |
void | hotkey::init_hotkey_commands () |
t_string | hotkey::get_translatable_category_name (HOTKEY_CATEGORY category) |
Gets the display name for a given hotkey category. More... | |
Variables | |
static lg::log_domain | log_config ("config") |
#define DBG_G LOG_STREAM(debug, lg::general()) |
Definition at line 32 of file hotkey_command.cpp.
#define ERR_CF LOG_STREAM(err, log_config) |
Definition at line 33 of file hotkey_command.cpp.
#define ERR_G LOG_STREAM(err, lg::general()) |
Definition at line 30 of file hotkey_command.cpp.
#define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 16 of file hotkey_command.cpp.
#define LOG_G LOG_STREAM(info, lg::general()) |
Definition at line 31 of file hotkey_command.cpp.
|
static |