Tighten XCUI hosted preview frame contract

This commit is contained in:
2026-04-05 06:38:34 +08:00
parent 585575a738
commit c6e0973fe7
6 changed files with 6 additions and 9 deletions

View File

@@ -10,15 +10,12 @@
#include <utility>
#include <vector>
struct ImDrawList;
namespace XCEngine {
namespace Editor {
namespace XCUIBackend {
struct XCUIHostedPreviewFrame {
const ::XCEngine::UI::UIDrawData* drawData = nullptr;
ImDrawList* targetDrawList = nullptr;
::XCEngine::UI::UIRect canvasRect = {};
::XCEngine::UI::UISize logicalSize = {};
const char* debugName = nullptr;