Refactor editor shell host layers
This commit is contained in:
@@ -1,24 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "panels/PanelCollection.h"
|
||||
#include "Core/EditorWorkspace.h"
|
||||
|
||||
#include <XCEngine/Core/Layer.h>
|
||||
#include <XCEngine/Core/LayerStack.h>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
namespace XCEngine {
|
||||
namespace Editor {
|
||||
|
||||
class IEditorContext;
|
||||
class MenuBar;
|
||||
class HierarchyPanel;
|
||||
class SceneViewPanel;
|
||||
class GameViewPanel;
|
||||
class InspectorPanel;
|
||||
class ConsolePanel;
|
||||
class ProjectPanel;
|
||||
class DockLayoutController;
|
||||
|
||||
class EditorLayer : public Core::Layer {
|
||||
public:
|
||||
@@ -35,9 +26,7 @@ public:
|
||||
|
||||
private:
|
||||
std::shared_ptr<IEditorContext> m_context;
|
||||
std::unique_ptr<DockLayoutController> m_dockLayoutController;
|
||||
PanelCollection m_panels;
|
||||
ProjectPanel* m_projectPanel = nullptr;
|
||||
EditorWorkspace m_workspace;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user