refactor(new_editor): tighten app dependency boundaries

This commit is contained in:
2026-04-19 02:48:41 +08:00
parent 7429f22fb1
commit c59cd83c38
86 changed files with 1754 additions and 1077 deletions

View File

@@ -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 {

View File

@@ -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 = {};

View File

@@ -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>