Add ShortcutManager for handling keyboard shortcuts in the editor

This commit is contained in:
scawful
2025-03-09 18:15:16 -04:00
parent c38932fd9c
commit 02ae11ec9e
6 changed files with 314 additions and 59 deletions

View File

@@ -8,6 +8,7 @@
#include "app/editor/system/extension_manager.h"
#include "app/editor/system/history_manager.h"
#include "app/editor/system/popup_manager.h"
#include "app/editor/system/shortcut_manager.h"
namespace yaze {
@@ -22,6 +23,7 @@ struct EditorContext {
ExtensionManager extension_manager;
HistoryManager history_manager;
PopupManager popup_manager;
ShortcutManager shortcut_manager;
};
enum class EditorType {