Refine editor host boundary

This commit is contained in:
2026-04-27 22:21:40 +08:00
parent 9428fec350
commit 520413fa0d
82 changed files with 119 additions and 106 deletions

View File

@@ -0,0 +1,18 @@
#pragma once
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
namespace XCEngine::UI::Editor::App {
RECT BuildEditorFloatingWindowRect(
const POINT& screenPoint,
LONG preferredWidth = 0,
LONG preferredHeight = 0,
LONG fallbackWidth = 960,
LONG fallbackHeight = 720);
} // namespace XCEngine::UI::Editor::App