Rename XCUI compatibility host reset helpers

This commit is contained in:
2026-04-05 17:12:43 +08:00
parent 5c75919b14
commit a94b005b76
4 changed files with 7 additions and 7 deletions

View File

@@ -228,7 +228,7 @@ int Application::Run(HINSTANCE instance, int nCmdShow) {
Frame(); Frame();
} }
ResetLegacyPanels(); ResetCompatibilityHostPanels();
ShutdownWindowCompositor(); ShutdownWindowCompositor();
ShutdownRenderer(); ShutdownRenderer();
resourceManager.Shutdown(); resourceManager.Shutdown();

View File

@@ -414,7 +414,7 @@ private:
HostedPreviewOffscreenSurface& previewSurface, HostedPreviewOffscreenSurface& previewSurface,
const ::XCEngine::Rendering::RenderContext& renderContext, const ::XCEngine::Rendering::RenderContext& renderContext,
const ::XCEngine::UI::UIDrawData& drawData); const ::XCEngine::UI::UIDrawData& drawData);
void ResetLegacyPanels(); void ResetCompatibilityHostPanels();
void ConfigureShellCommandRouter(); void ConfigureShellCommandRouter();
::XCEngine::Editor::XCUIBackend::XCUIInputBridgeFrameDelta DispatchShellShortcuts( ::XCEngine::Editor::XCUIBackend::XCUIInputBridgeFrameDelta DispatchShellShortcuts(
const ::XCEngine::Editor::XCUIBackend::XCUIInputBridgeFrameSnapshot& snapshot); const ::XCEngine::Editor::XCUIBackend::XCUIInputBridgeFrameSnapshot& snapshot);

View File

@@ -25,13 +25,13 @@ void Application::InitializePanelsForActiveWindowHost() {
InitializeNativeShell(); InitializeNativeShell();
} }
void Application::InitializeLegacyImGuiPanels() { void Application::InitializeCompatibilityHostPanels() {
} }
void Application::ConfigureHostedPreviewPresenters() { void Application::ConfigureHostedPreviewPresenters() {
} }
void Application::ResetLegacyPanels() { void Application::ResetCompatibilityHostPanels() {
m_demoPanel.reset(); m_demoPanel.reset();
m_layoutLabPanel.reset(); m_layoutLabPanel.reset();
} }
@@ -121,11 +121,11 @@ void Application::InitializeWindowCompositor() {
} }
} }
void Application::FrameLegacyImGuiHost() { void Application::FrameCompatibilityHost() {
m_xcuiInputSource.ClearFrameTransients(); m_xcuiInputSource.ClearFrameTransients();
} }
void Application::RenderLegacyImGuiUiFrame() { void Application::RenderCompatibilityHostUiFrame() {
} }
void Application::RenderShellChrome() { void Application::RenderShellChrome() {

View File

@@ -151,7 +151,7 @@ void Application::ConfigureHostedPreviewPresenters() {
} }
} }
void Application::ResetLegacyPanels() { void Application::ResetCompatibilityHostPanels() {
m_demoPanel.reset(); m_demoPanel.reset();
m_layoutLabPanel.reset(); m_layoutLabPanel.reset();
} }