new_editor: remove win32 no-op redundancy

This commit is contained in:
2026-04-23 01:44:22 +08:00
parent 514dee10cc
commit e63457c72b
11 changed files with 103 additions and 143 deletions

View File

@@ -15,22 +15,9 @@ EditorStandaloneUtilityWindowContentController::
EditorStandaloneUtilityWindowContentController::
~EditorStandaloneUtilityWindowContentController() = default;
const UIEditorWorkspaceController*
EditorStandaloneUtilityWindowContentController::TryGetWorkspaceController() const {
return nullptr;
}
UIEditorWorkspaceController*
EditorStandaloneUtilityWindowContentController::TryGetMutableWorkspaceController() {
return nullptr;
}
void EditorStandaloneUtilityWindowContentController::ReplaceWorkspaceController(
UIEditorWorkspaceController) {}
void EditorStandaloneUtilityWindowContentController::Initialize(
const EditorWindowContentInitializationContext&) {}
void EditorStandaloneUtilityWindowContentController::Shutdown() {
OnShutdown();
m_shellInteractionState = {};
@@ -42,8 +29,6 @@ void EditorStandaloneUtilityWindowContentController::ResetInteractionState() {
OnResetInteractionState();
}
void EditorStandaloneUtilityWindowContentController::SetViewportSurfacePresentationEnabled(bool) {}
EditorWindowFrameTransferRequests
EditorStandaloneUtilityWindowContentController::UpdateAndAppend(
const EditorWindowContentFrameContext& context,
@@ -74,9 +59,6 @@ EditorStandaloneUtilityWindowContentController::UpdateAndAppend(
drawData);
}
void EditorStandaloneUtilityWindowContentController::RenderRequestedViewports(
const ::XCEngine::Rendering::RenderContext&) {}
const UIEditorShellInteractionFrame&
EditorStandaloneUtilityWindowContentController::GetShellFrame() const {
return m_shellFrame;
@@ -87,66 +69,11 @@ EditorStandaloneUtilityWindowContentController::GetShellInteractionState() const
return m_shellInteractionState;
}
void EditorStandaloneUtilityWindowContentController::SetExternalDockHostDropPreview(
const Widgets::UIEditorDockHostDropPreviewState&) {}
void EditorStandaloneUtilityWindowContentController::ClearExternalDockHostDropPreview() {}
bool EditorStandaloneUtilityWindowContentController::TryResolveDockTabDragHotspot(
std::string_view,
std::string_view,
const ::XCEngine::UI::UIPoint&,
::XCEngine::UI::UIPoint&) const {
return false;
}
UIEditorDockHostTabDropTarget
EditorStandaloneUtilityWindowContentController::ResolveDockTabDropTarget(
const ::XCEngine::UI::UIPoint&) const {
return {};
}
bool EditorStandaloneUtilityWindowContentController::HasHostedContentCapture() const {
return false;
}
bool EditorStandaloneUtilityWindowContentController::HasShellInteractiveCapture() const {
return false;
}
bool EditorStandaloneUtilityWindowContentController::HasInteractiveCapture() const {
return false;
}
EditorWindowContentCursorKind
EditorStandaloneUtilityWindowContentController::GetHostedContentCursorKind() const {
return EditorWindowContentCursorKind::Arrow;
}
EditorWindowContentCursorKind
EditorStandaloneUtilityWindowContentController::GetDockCursorKind() const {
return EditorWindowContentCursorKind::Arrow;
}
::XCEngine::UI::UISize
EditorStandaloneUtilityWindowContentController::ResolveMinimumOuterSize() const {
return m_minimumOuterSize;
}
bool EditorStandaloneUtilityWindowContentController::ShouldUseDetachedTitleBarTabStrip() const {
return false;
}
std::string EditorStandaloneUtilityWindowContentController::ResolveTabStripTitleText(
std::string_view fallbackTitle) const {
return std::string(fallbackTitle);
}
std::string EditorStandaloneUtilityWindowContentController::ResolveDetachedWindowTitleText(
std::string_view fallbackWindowTitle) const {
return std::string(fallbackWindowTitle);
}
void EditorStandaloneUtilityWindowContentController::OnShutdown() {}
void EditorStandaloneUtilityWindowContentController::OnResetInteractionState() {}