Removed unused functions hotkeys::get_scope_*.
This commit is contained in:
parent
52c5b10dc3
commit
564f87ea34
2 changed files with 0 additions and 14 deletions
|
@ -202,8 +202,6 @@ hotkey::hotkey_item null_hotkey_;
|
|||
|
||||
std::string hotkey_tag_name = "hotkey";
|
||||
|
||||
const std::string scope_strings_[] = {"general", "game", "editor"};
|
||||
const std::string scope_labels_[] = {"Common", "Game", "Editor"};
|
||||
std::vector<bool> scope_active_(hotkey::SCOPE_COUNT, false);
|
||||
}
|
||||
|
||||
|
@ -227,16 +225,6 @@ bool is_scope_active(scope s)
|
|||
return scope_active_[s];
|
||||
}
|
||||
|
||||
const std::string& get_scope_string(scope s)
|
||||
{
|
||||
return scope_strings_[s];
|
||||
}
|
||||
|
||||
const std::string& get_scope_label(scope s)
|
||||
{
|
||||
return scope_labels_[s];
|
||||
}
|
||||
|
||||
static void key_event_execute(display& disp, const SDL_KeyboardEvent& event, command_executor* executor);
|
||||
|
||||
const std::string CLEARED_TEXT = "__none__";
|
||||
|
|
|
@ -105,8 +105,6 @@ enum HOTKEY_COMMAND {
|
|||
void deactivate_all_scopes();
|
||||
void set_scope_active(scope s, bool set = true);
|
||||
bool is_scope_active(scope s);
|
||||
const std::string& get_scope_string(scope s);
|
||||
const std::string& get_scope_label(scope s);
|
||||
|
||||
class hotkey_item {
|
||||
public:
|
||||
|
|
Loading…
Add table
Reference in a new issue