refactor(new_editor): tighten app dependency boundaries
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
using namespace ProjectPanelInternal;
|
||||
namespace GridDrag = GridItemDragDrop;
|
||||
namespace TreeDrag = TreeItemDragDrop;
|
||||
namespace GridDrag = XCEngine::UI::Editor::Collections::GridDragDrop;
|
||||
namespace TreeDrag = XCEngine::UI::Editor::Collections::TreeDragDrop;
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "Features/Shared/GridItemDragDrop.h"
|
||||
#include "Features/Shared/TreeItemDragDrop.h"
|
||||
#include "Project/EditorProjectRuntime.h"
|
||||
#include "ProjectBrowserModel.h"
|
||||
|
||||
#include <XCEditor/App/EditorEditCommandRoute.h>
|
||||
#include "Commands/EditorEditCommandRoute.h"
|
||||
#include <XCEditor/Collections/UIEditorGridDragDrop.h>
|
||||
#include <XCEditor/Collections/UIEditorInlineRenameSession.h>
|
||||
#include <XCEditor/Collections/UIEditorTreeDragDrop.h>
|
||||
#include <XCEditor/Collections/UIEditorTreeViewInteraction.h>
|
||||
#include <XCEditor/Foundation/UIEditorTextMeasurement.h>
|
||||
#include <XCEditor/Menu/UIEditorMenuPopup.h>
|
||||
@@ -229,8 +229,8 @@ private:
|
||||
::XCEngine::UI::Widgets::UISelectionModel m_folderSelection = {};
|
||||
::XCEngine::UI::Widgets::UIExpansionModel m_folderExpansion = {};
|
||||
::XCEngine::UI::Widgets::UISelectionModel m_assetSelection = {};
|
||||
GridItemDragDrop::State m_assetDragState = {};
|
||||
TreeItemDragDrop::State m_treeDragState = {};
|
||||
Collections::GridDragDrop::State m_assetDragState = {};
|
||||
Collections::TreeDragDrop::State m_treeDragState = {};
|
||||
UIEditorTreeViewInteractionState m_treeInteractionState = {};
|
||||
UIEditorTreeViewInteractionFrame m_treeFrame = {};
|
||||
UIEditorInlineRenameSessionState m_renameState = {};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "Rendering/Assets/BuiltInIcons.h"
|
||||
|
||||
#include <XCEditor/App/EditorPanelIds.h>
|
||||
#include "Composition/EditorPanelIds.h"
|
||||
#include <XCEditor/Collections/UIEditorTreeView.h>
|
||||
#include <XCEditor/Foundation/UIEditorTheme.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user