Add workspace panel overlay routing

This commit is contained in:
2026-04-29 17:34:31 +08:00
parent 4a125cbe7f
commit f74503c2a5
21 changed files with 458 additions and 53 deletions

View File

@@ -338,7 +338,17 @@ void AppendUIEditorPropertyGridForeground(
const UIEditorPropertyGridMetrics& metrics = {},
const UIEditorMenuPopupPalette& popupPalette = {},
const UIEditorMenuPopupMetrics& popupMetrics = {},
const ::XCEngine::UI::Editor::UIEditorTextMeasurer* textMeasurer = nullptr);
const ::XCEngine::UI::Editor::UIEditorTextMeasurer* textMeasurer = nullptr,
bool appendPopup = true);
bool BuildUIEditorPropertyGridPopupRuntime(
const UIEditorPropertyGridLayout& layout,
const std::vector<UIEditorPropertyGridSection>& sections,
const UIEditorPropertyGridState& state,
UIEditorMenuPopupLayout& popupLayout,
UIEditorMenuPopupState& popupState,
std::vector<UIEditorMenuPopupItem>& popupItems,
const UIEditorMenuPopupMetrics& popupMetrics = {});
void AppendUIEditorPropertyGrid(
::XCEngine::UI::UIDrawList& drawList,
@@ -352,6 +362,7 @@ void AppendUIEditorPropertyGrid(
const UIEditorPropertyGridMetrics& metrics = {},
const UIEditorMenuPopupPalette& popupPalette = {},
const UIEditorMenuPopupMetrics& popupMetrics = {},
const ::XCEngine::UI::Editor::UIEditorTextMeasurer* textMeasurer = nullptr);
const ::XCEngine::UI::Editor::UIEditorTextMeasurer* textMeasurer = nullptr,
bool appendPopup = true);
} // namespace XCEngine::UI::Editor::Widgets