fix(new_editor/window): move detached root tab into title bar

This commit is contained in:
2026-04-15 12:38:45 +08:00
parent 59941626a7
commit d501e895eb
6 changed files with 159 additions and 36 deletions

View File

@@ -40,7 +40,9 @@ public:
const ::XCEngine::UI::UIRect& bounds,
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents,
std::string_view captureText,
EditorShellVariant shellVariant = EditorShellVariant::Primary);
EditorShellVariant shellVariant = EditorShellVariant::Primary,
bool useDetachedTitleBarTabStrip = false,
float detachedTitleBarTabHeight = 0.0f);
void RenderRequestedViewports(
const ::XCEngine::Rendering::RenderContext& renderContext);
void Append(::XCEngine::UI::UIDrawList& drawList) const;