Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h |
Include |
#include "Widgets/SWindow.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp |
For a given client size, calculate the window size required to accommodate any potential non-OS borders and title bars
Parameter |
Description |
---|---|
InClientSize |
Client size with DPI scaling already applied |
DPIScale |
Scale that will be applied for border and title. When not supplied detects DPIScale using native or initial position. |