#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 |
Definition at line 25 of file shortcut_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kGlobal | |
| kEditor | |
| kPanel | |
Definition at line 26 of file shortcut_manager.h.
| std::string yaze::editor::Shortcut::name |
Definition at line 27 of file shortcut_manager.h.
Referenced by yaze::editor::anonymous_namespace{settings_panel.cc}::DrawShortcutBindingRow(), and yaze::editor::ShortcutManager::Store().
| Scope yaze::editor::Shortcut::scope = Scope::kGlobal |
Definition at line 28 of file shortcut_manager.h.
Referenced by yaze::editor::anonymous_namespace{shortcut_configurator.cc}::RegisterAlias().
| std::vector<ImGuiKey> yaze::editor::Shortcut::keys |
| std::function<void()> yaze::editor::Shortcut::callback |
Definition at line 30 of file shortcut_manager.h.
Referenced by yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::HasCallback(), yaze::platform::native_menu::PerformAction(), yaze::editor::ShortcutCommandsProvider::Provide(), yaze::editor::anonymous_namespace{shortcut_configurator.cc}::RegisterAlias(), and yaze::editor::anonymous_namespace{menu_orchestrator.cc}::RunShortcutAction().
| std::optional<EditorType> yaze::editor::Shortcut::editor_type |
Definition at line 33 of file shortcut_manager.h.
Referenced by yaze::editor::ShortcutManager::IsShortcutApplicable().
| std::function<bool()> yaze::editor::Shortcut::enabled |
Definition at line 35 of file shortcut_manager.h.
Referenced by yaze::editor::ShortcutManager::IsShortcutApplicable().
| std::vector<ImGuiKey> yaze::editor::Shortcut::default_keys |
Definition at line 37 of file shortcut_manager.h.
Referenced by yaze::editor::anonymous_namespace{settings_panel.cc}::DrawShortcutBindingRow(), and yaze::editor::ShortcutManager::Store().