Choose your operating system:
Windows
macOS
Linux
| FGenericWindow
|
Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericWindow.h |
Include |
#include "GenericPlatform/GenericWindow.h" |
class FGenericWindow
Name | Description | ||
---|---|---|---|
|
TSharedPtr< FGe... |
Definition |
Name | Description | |
---|---|---|
|
FGenericWindow() |
Name | Description | |
---|---|---|
|
~FGenericWindow() |
Name | Description | ||
---|---|---|---|
|
AdjustCachedSize ( |
||
|
BringToFront ( |
Native windows should implement BringToFront by making this window the top-most window (i.e. focused). |
|
|
Destroy() |
Native windows should implement this function by asking the OS to destroy OS-specific resource associated with the window (e.g. Win32 window handle) |
|
|
DrawAttention ( |
Attempts to draw the user's attention to this window in whatever way is appropriate for the platform if this window is not the current active window. |
|
|
Enable ( |
Enables or disables the window. If disabled the window receives no input |
|
|
const FGener... |
GetDefinition() |
|
|
float |
GetDPIScaleFactor() |
|
|
GetFullScreenInfo |
Returns the rectangle of the screen the window is associated with |
|
|
void * |
GetOSWindowHandle() |
Gets the OS Window handle in the form of a void pointer for other API's |
|
GetRestoredDimensions |
Populates the size and location of the window when it is restored. |
|
|
GetWindowBorderSize() |
Gets OS specific window border size. |
|
|
EWindowMode:... |
GetWindowMode() |
|
|
GetWindowTitleBarSize() |
Gets OS specific window title bar size |
|
|
HACK_ForceToFront() |
Force a window to front even if a different application is in front. |
|
|
Hide() |
Native window should hide itself |
|
|
IsDefinitionValid() |
||
|
IsForegroundWindow() |
||
|
IsFullscreenSupported() |
||
|
IsManualManageDPIChanges() |
Determines whether or not this window does its own DPI management |
|
|
IsMaximized() |
||
|
IsMinimized() |
||
|
IsPointInWindow |
||
|
IsVisible() |
||
|
Maximize() |
Native window should implement this function by performing the equivalent of the Win32 maximize operation |
|
|
Minimize() |
Native window should implement this function by performing the equivalent of the Win32 minimize-to-taskbar operation |
|
|
MoveWindowTo |
Native windows should implement MoveWindowTo by relocating the platform-specific window to (X,Y). |
|
|
ReshapeWindow |
Native windows should implement ReshapeWindow by changing the platform-specific window to be located at (X,Y) and be the dimensions Width x Height. |
|
|
Restore() |
Native window should implement this function by performing the equivalent of the Win32 restore operation |
|
|
SetDPIScaleFactor ( |
Sets a new DPI scale factor |
|
|
SetManualManageDPIChanges ( |
Call with a true argument if this window need to do its custom size management in response to DPI variations |
|
|
SetNativeWindowButtonsVisibility ( |
Shows or hides native window buttons on platforms that use them |
|
|
SetOpacity ( |
Sets the opacity of this window |
|
|
SetText ( |
Sets the window text - usually the title but can also be text content for things like controls |
|
|
SetWindowFocus() |
Native windows should implement SetWindowFocus to let the OS know that a window has taken focus. |
|
|
SetWindowMode ( |
Toggle native window between fullscreen and normal mode |
|
|
Show() |
Native window should make itself visible |