yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
shortcut_manager.cc File Reference
#include "shortcut_manager.h"
#include <algorithm>
#include <string>
#include "app/gui/input.h"
#include "imgui/imgui.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{shortcut_manager.cc}
 

Functions

constexpr const char * yaze::editor::anonymous_namespace{shortcut_manager.cc}::GetKeyName (ImGuiKey key)
 
std::string yaze::editor::PrintShortcut (const std::vector< ImGuiKey > &keys)
 
std::vector< ImGuiKey > yaze::editor::ParseShortcut (const std::string &shortcut)
 
void yaze::editor::ExecuteShortcuts (const ShortcutManager &shortcut_manager)
 

Variables

constexpr std::pair< ImGuiKey, const char * > yaze::editor::anonymous_namespace{shortcut_manager.cc}::kKeyNames []
 
constexpr std::string yaze::editor::kCtrlKey = "Ctrl"
 
constexpr std::string yaze::editor::kAltKey = "Alt"
 
constexpr std::string yaze::editor::kShiftKey = "Shift"
 
constexpr std::string yaze::editor::kSuperKey = "Super"