Files
XCEngine/new_editor/app/Platform/Win32/EditorWindowTitleBarRendering.cpp

27 lines
893 B
C++

#include "Platform/Win32/EditorWindow.h"
#include "Platform/Win32/EditorWindowChromeController.h"
namespace XCEngine::UI::Editor::App {
bool EditorWindow::ShouldUseDetachedTitleBarTabStrip() const {
return m_chromeController->ShouldUseDetachedTitleBarTabStrip(*this);
}
Host::BorderlessWindowChromeHitTarget EditorWindow::HitTestBorderlessWindowChrome(
LPARAM lParam) const {
return m_chromeController->HitTestChrome(*this, lParam);
}
Host::BorderlessWindowChromeLayout EditorWindow::ResolveBorderlessWindowChromeLayout(
float clientWidthDips) const {
return m_chromeController->ResolveChromeLayout(*this, clientWidthDips);
}
void EditorWindow::AppendBorderlessWindowChrome(
::XCEngine::UI::UIDrawList& drawList,
float clientWidthDips) const {
m_chromeController->AppendChrome(*this, drawList, clientWidthDips);
}
} // namespace XCEngine::UI::Editor::App