Implement docking support in the main editor window; enhance editor activation management

This commit is contained in:
scawful
2025-03-11 21:05:04 -04:00
parent 2a6683db82
commit 61e35f2819
4 changed files with 104 additions and 23 deletions

View File

@@ -77,7 +77,11 @@ class Editor {
void set_context(EditorContext* context) { context_ = context; }
bool* active() { return &active_; }
void set_active(bool active) { active_ = active; }
protected:
bool active_ = false;
EditorType type_;
EditorContext* context_ = nullptr;
};