Refactor Editor and SettingsEditor classes to manage context; update keyboard shortcuts display logic

This commit is contained in:
scawful
2025-03-10 11:25:49 -04:00
parent ecac4e5b60
commit 5607ef7702
4 changed files with 20 additions and 11 deletions

View File

@@ -1,10 +1,9 @@
#ifndef YAZE_APP_EDITOR_SETTINGS_EDITOR_H
#define YAZE_APP_EDITOR_SETTINGS_EDITOR_H
#include "imgui/imgui.h"
#include "absl/status/status.h"
#include "app/editor/editor.h"
#include "imgui/imgui.h"
namespace yaze {
namespace editor {
@@ -220,8 +219,7 @@ class SettingsEditor : public Editor {
private:
void DrawGeneralSettings();
absl::Status DrawKeyboardShortcuts();
void DrawKeyboardShortcuts();
};
} // namespace editor