![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericWindow.h>
Inheritance diagram for FGenericWindow:Protected Attributes | |
| TSharedPtr< FGenericWindowDefinition > | Definition |
| FGenericWindow::FGenericWindow | ( | ) |
|
virtual |
Reimplemented in FLinuxWindow, FNullWindow, and FWindowsWindow.
Native windows should implement BringToFront by making this window the top-most window (i.e. focused).
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Native windows should implement this function by asking the OS to destroy OS-specific resource associated with the window (e.g. Win32 window handle)
Reimplemented in FAndroidWindow, FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
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.
| Parameters | The parameters for drawing attention. Depending on the platform, not all parameters may be supported. |
Reimplemented in FNullWindow, and FWindowsWindow.
Enables or disables the window. If disabled the window receives no input
| bEnable | true to enable the window, false to disable it. |
Reimplemented in FLinuxWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Reimplemented in FNullWindow.
|
virtual |
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Returns the rectangle of the screen the window is associated with
Reimplemented in FAndroidWindow, FIOSWindow, FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Gets the OS Window handle in the form of a void pointer for other API's
Reimplemented in FAndroidWindow, FIOSWindow, FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Populates the size and location of the window when it is restored. If the function fails, false is returned and X,Y,Width,Height will be undefined.
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Gets OS specific window border size. This is necessary because Win32 does not give control over this size.
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Reimplemented in FAndroidWindow, FIOSWindow, FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Gets OS specific window title bar size
Reimplemented in FNullWindow, and FWindowsWindow.
|
virtual |
@hack Force a window to front even if a different application is in front.
Reimplemented in FNullWindow, and FWindowsWindow.
|
virtual |
Native window should hide itself
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Reimplemented in FNullWindow.
|
virtual |
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Reimplemented in FNullWindow, and FWindowsWindow.
|
virtual |
determines whether or not this window does its own DPI management
Reimplemented in FNullWindow, and FWindowsWindow.
|
virtual |
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Native window should implement this function by performing the equivalent of the Win32 maximize operation
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Native window should implement this function by performing the equivalent of the Win32 minimize-to-taskbar operation
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
Native windows should implement MoveWindowTo by relocating the platform-specific window to (X,Y).
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
Native windows should implement ReshapeWindow by changing the platform-specific window to be located at (X,Y) and be the dimensions Width x Height.
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Native window should implement this function by performing the equivalent of the Win32 restore operation
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
sets a new DPI scale factor
Reimplemented in FLinuxWindow, FNullWindow, and FWindowsWindow.
call with a true argument if this window need to do its custom size management in response to DPI variations
Reimplemented in FNullWindow, and FWindowsWindow.
Shows or hides native window buttons on platforms that use them
Reimplemented in FMacWindow, and FNullWindow.
Sets the opacity of this window
| InOpacity | The new window opacity represented as a floating point scalar |
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
Sets the window text - usually the title but can also be text content for things like controls
| Text | The window's title or content text |
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Native windows should implement SetWindowFocus to let the OS know that a window has taken focus.
Slate handles focus on a per widget basis internally but the OS still needs to know what window has focus for proper message routing
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
virtual |
Toggle native window between fullscreen and normal mode
Reimplemented in FAndroidWindow, FNullWindow, FLinuxWindow, FMacWindow, and FWindowsWindow.
|
virtual |
Native window should make itself visible
Reimplemented in FLinuxWindow, FMacWindow, FNullWindow, and FWindowsWindow.
|
protected |