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
 
std::optional< EditorType > editor_type
 
std::function< bool()> enabled
 
std::vector< ImGuiKey > default_keys
 

Detailed Description

Definition at line 25 of file shortcut_manager.h.

Member Enumeration Documentation

◆ Scope

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

Definition at line 26 of file shortcut_manager.h.

Member Data Documentation

◆ name

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

◆ scope

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

◆ keys

◆ callback

◆ editor_type

std::optional<EditorType> yaze::editor::Shortcut::editor_type

◆ enabled

std::function<bool()> yaze::editor::Shortcut::enabled

◆ default_keys

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

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