checkpoint: commit current workspace state

This commit is contained in:
2026-04-25 16:11:01 +08:00
parent 6d43fe5a7d
commit 6002d86a7e
449 changed files with 11303 additions and 100602 deletions

View File

@@ -1,4 +1,4 @@
#include "Composition/EditorShellRuntime.h"
#include "Composition/EditorShellRuntime.h"
#include "Rendering/Host/UiTextureHost.h"
#include "Rendering/Host/ViewportRenderHost.h"
#include "Composition/EditorContext.h"
@@ -91,11 +91,11 @@ void EditorShellRuntime::ClearExternalDockHostDropPreview() {
.dockHostState.dropPreview = {};
}
ProjectPanel::CursorKind EditorShellRuntime::GetHostedContentCursorKind() const {
ProjectPanel::CursorKind EditorShellRuntime::GetHostedContentCursorType() const {
return m_projectPanel.GetCursorKind();
}
Widgets::UIEditorDockHostCursorKind EditorShellRuntime::GetDockCursorKind() const {
Widgets::UIEditorDockHostCursorKind EditorShellRuntime::GetDockCursorType() const {
return Widgets::ResolveUIEditorDockHostCursorKind(
m_shellFrame.workspaceInteractionFrame.dockHostFrame.layout);
}
@@ -163,6 +163,8 @@ namespace XCEngine::UI::Editor::App {
void EditorShellRuntime::Update(
EditorContext& context,
EditorUtilityWindowResultState& utilityWindowResultState,
EditorUtilityWindowRequestSink& utilityRequestSink,
UIEditorWorkspaceController& workspaceController,
const ::XCEngine::UI::UIRect& bounds,
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents,
@@ -206,6 +208,8 @@ void EditorShellRuntime::Update(
m_hostedPanelCoordinator.Update(
EditorShellHostedPanelCoordinatorContext{
.context = context,
.utilityWindowResultState = utilityWindowResultState,
.utilityRequestSink = utilityRequestSink,
.shellFrame = m_shellFrame,
.shellInteractionState = m_shellInteractionState,
.inputEvents = inputEvents,
@@ -225,3 +229,6 @@ void EditorShellRuntime::Update(
} // namespace XCEngine::UI::Editor::App