Navigation
API > API/Runtime > API/Runtime/ApplicationCore
| Name | FGenericWindow |
| Type | class |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericWindow.h |
| Include Path | #include "GenericPlatform/GenericWindow.h" |
Syntax
class FGenericWindow
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGenericWindow() |
GenericPlatform/GenericWindow.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FGenericWindow() |
GenericPlatform/GenericWindow.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AdjustCachedSize
(
FVector2D& Size |
GenericPlatform/GenericWindow.h | ||
virtual void BringToFront
(
bool bForce |
Native windows should implement BringToFront by making this window the top-most window (i.e. focused). | GenericPlatform/GenericWindow.h | |
virtual void 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) | GenericPlatform/GenericWindow.h | |
virtual void DrawAttention
(
const FWindowDrawAttentionParameters& Parameters |
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. | GenericPlatform/GenericWindow.h | |
virtual void Enable
(
bool bEnable |
Enables or disables the window. If disabled the window receives no input | GenericPlatform/GenericWindow.h | |
virtual const FGenericWindowDefinition & GetDefinition() |
GenericPlatform/GenericWindow.h | ||
virtual float GetDPIScaleFactor() |
GenericPlatform/GenericWindow.h | ||
virtual bool GetFullScreenInfo
(
int32& X, |
Returns the rectangle of the screen the window is associated with | GenericPlatform/GenericWindow.h | |
virtual void * GetOSWindowHandle() |
Gets the OS Window handle in the form of a void pointer for other API's | GenericPlatform/GenericWindow.h | |
virtual bool GetRestoredDimensions
(
int32& X, |
Populates the size and location of the window when it is restored. | GenericPlatform/GenericWindow.h | |
virtual int32 GetWindowBorderSize () |
Gets OS specific window border size. | GenericPlatform/GenericWindow.h | |
virtual EWindowMode::Type GetWindowMode() |
GenericPlatform/GenericWindow.h | ||
virtual int32 GetWindowTitleBarSize() |
Gets OS specific window title bar size | GenericPlatform/GenericWindow.h | |
virtual void HACK_ForceToFront() |
@hack Force a window to front even if a different application is in front. | GenericPlatform/GenericWindow.h | |
virtual void Hide() |
Native window should hide itself | GenericPlatform/GenericWindow.h | |
virtual bool IsDefinitionValid() |
GenericPlatform/GenericWindow.h | ||
virtual bool IsForegroundWindow() |
GenericPlatform/GenericWindow.h | ||
virtual bool IsFullscreenSupported() |
GenericPlatform/GenericWindow.h | ||
virtual bool IsManualManageDPIChanges() |
Determines whether or not this window does its own DPI management | GenericPlatform/GenericWindow.h | |
virtual bool IsMaximized() |
GenericPlatform/GenericWindow.h | ||
virtual bool IsMinimized() |
GenericPlatform/GenericWindow.h | ||
virtual bool IsPointInWindow
(
int32 X, |
GenericPlatform/GenericWindow.h | ||
virtual bool IsVisible() |
GenericPlatform/GenericWindow.h | ||
virtual void Maximize() |
Native window should implement this function by performing the equivalent of the Win32 maximize operation | GenericPlatform/GenericWindow.h | |
virtual void Minimize() |
Native window should implement this function by performing the equivalent of the Win32 minimize-to-taskbar operation | GenericPlatform/GenericWindow.h | |
virtual void MoveWindowTo
(
int32 X, |
Native windows should implement MoveWindowTo by relocating the platform-specific window to (X,Y). | GenericPlatform/GenericWindow.h | |
virtual void ReshapeWindow
(
int32 X, |
Native windows should implement ReshapeWindow by changing the platform-specific window to be located at (X,Y) and be the dimensions Width x Height. | GenericPlatform/GenericWindow.h | |
virtual void Restore() |
Native window should implement this function by performing the equivalent of the Win32 restore operation | GenericPlatform/GenericWindow.h | |
virtual void SetDPIScaleFactor
(
const float Factor |
Sets a new DPI scale factor | GenericPlatform/GenericWindow.h | |
virtual void SetManualManageDPIChanges
(
const bool bAutoHandle |
Call with a true argument if this window need to do its custom size management in response to DPI variations | GenericPlatform/GenericWindow.h | |
virtual void SetNativeWindowButtonsVisibility
(
bool bVisible |
Shows or hides native window buttons on platforms that use them | GenericPlatform/GenericWindow.h | |
virtual void SetOpacity
(
const float InOpacity |
Sets the opacity of this window | GenericPlatform/GenericWindow.h | |
virtual void SetText
(
const TCHAR*const Text |
Sets the window text - usually the title but can also be text content for things like controls | GenericPlatform/GenericWindow.h | |
virtual void SetWindowFocus () |
Native windows should implement SetWindowFocus to let the OS know that a window has taken focus. | GenericPlatform/GenericWindow.h | |
virtual void SetWindowMode
(
EWindowMode::Type InNewWindowMode |
Toggle native window between fullscreen and normal mode | GenericPlatform/GenericWindow.h | |
virtual void Show() |
Native window should make itself visible | GenericPlatform/GenericWindow.h |