yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::Shortcut Struct Reference

#include <shortcut_manager.h>

Public Types

enum class  Scope { kGlobal , kEditor , kPanel }
 

Public Attributes

std::string name
 
Scope scope = Scope::kGlobal
 
std::vector< ImGuiKey > keys
 
std::function< void()> callback
 

Detailed Description

Definition at line 19 of file shortcut_manager.h.

Member Enumeration Documentation

◆ Scope

enum class yaze::editor::Shortcut::Scope
strong
Enumerator
kGlobal 
kEditor 
kPanel 

Definition at line 20 of file shortcut_manager.h.

Member Data Documentation

◆ name

std::string yaze::editor::Shortcut::name

Definition at line 25 of file shortcut_manager.h.

◆ scope

Scope yaze::editor::Shortcut::scope = Scope::kGlobal

Definition at line 26 of file shortcut_manager.h.

◆ keys

std::vector<ImGuiKey> yaze::editor::Shortcut::keys

Definition at line 27 of file shortcut_manager.h.

◆ callback

std::function<void()> yaze::editor::Shortcut::callback

Definition at line 28 of file shortcut_manager.h.


The documentation for this struct was generated from the following file: