checkpoint: commit current workspace state
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user