Choose your operating system:
Windows
macOS
Linux
| FSlateApplicationBase
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h |
Include |
#include "Application/SlateApplicationBase.h" |
class FSlateApplicationBase
Base class for Slate applications.
This class currently serves a temporary workaround for solving SlateCore dependencies to FSlateApplication. It should probably be removed once FSlateApplication has been refactored into SlateCore.
Name | Description | ||
---|---|---|---|
|
TSharedRef< FSl... |
AccessibleMessageHandler |
Manager for widgets and application to interact with accessibility API |
|
ActiveTimerCS |
Critical section for active timer registration as it can be called from the movie thread and the game thread |
|
|
bIsSlateAsleep |
Gets set when Slate goes to sleep and cleared when active. |
|
|
float |
CachedDebugTitleSafeRatio |
Caches the previous debug safe zone ratio. |
|
CachedDisplayMetrics |
Caches the application's display metrics. |
|
|
CustomSafeZoneRatio |
Safe Zone ratio to override platform settings |
|
|
CustomSafeZoneState |
If Safe Zone ratio has been manually set, unset, or set via debug |
|
|
HitTesting |
Private interface for select entities that are allowed to perform hittesting. |
|
|
OnDebugSafeZoneChanged |
||
|
OnGlobalInvalidationToggledEvent |
||
|
OnInvalidateAllWidgetsEvent |
Multicast delegate to broadcast when a global invalidate is requested |
|
|
TSharedPtr< FSl... |
Renderer |
Holds the Slate renderer used to render this application. |
Name | Description | |
---|---|---|
|
FSlateApplicationBase() |
Name | Description | |
---|---|---|
|
~FSlateApplicationBase() |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
AddWindow ( |
Associates a top level Slate Window with a native window and ensures that it is tracked properly by the application. |
|
AnyActiveTimersArePending() |
Used to determine if any active timer handles are ready to fire. |
|
|
AnyMenusVisible() |
||
|
ArrangeWindowToFrontVirtual ( |
Reorders an array of windows so the specified window is "brought to the front" |
|
|
CalculateTooltipWindowPosition ( |
Calculates the tooltip window position. |
|
|
DoesWidgetHaveMouseCapture ( |
Gets whether or not a particular widget has mouse capture. |
|
|
DoesWidgetHaveMouseCaptureByUser ( |
Gets whether or not a particular widget has mouse capture by a user. |
|
|
FindPathToWidget ( |
Searches for the specified widget and generates a full path to it. |
|
|
TSharedPtr< ... |
FindWidgetWindow ( |
Returns the window the provided widget is contained in |
|
FSlateApplic... |
Get() |
Returns the current instance of the application. |
|
TSharedRef< ... |
GetAccessibleMessageHandler() |
Accessor for the accessible message handler. One must always exist, even if it's never activated. |
|
TSharedPtr< ... |
GetActiveTopLevelRegularWindow() |
Gets the active regular top-level window. |
|
TSharedPtr< ... |
GetActiveTopLevelWindow() |
Gets the active top-level window. |
|
const FSlate... |
GetAppIcon() |
Gets the global application icon. |
|
const FSlate... |
GetAppIconSmall() |
|
|
float |
GetApplicationScale() |
Gets the ratio SlateUnit / ScreenPixel. |
|
GetCachedDisplayMetrics ( |
Gets the application's cached display metrics. |
|
|
const double |
GetCurrentTime() |
Gets Slate's current cached real time. |
|
GetCursorPos() |
Gets the current position of the cursor. |
|
|
GetCursorSize() |
Gets the size of the cursor.. |
|
|
const FMargi... |
GetCustomSafeZone() |
|
|
GetDisplayMetrics ( |
Gets the application's display metrics. |
|
|
const FHitTe... |
GetHitTesting() |
|
|
TSharedPtr< ... |
GetKeyboardFocusedWidget() |
Gets the widget that currently has keyboard focus, if any. |
|
GetLastCursorPos() |
Gets the last known position of the cursor. |
|
|
TSharedPtr< ... |
GetMouseCaptorImpl() |
Implementation of GetMouseCaptor which can be overridden without warnings. |
|
EUINavigatio... |
GetNavigationActionForKey ( |
|
|
EUINavigatio... |
GetNavigationActionFromKey ( |
|
|
EUINavigatio... |
GetNavigationDirectionFromAnalog ( |
|
|
EUINavigatio... |
GetNavigationDirectionFromKey ( |
|
|
TSharedPtr< ... |
GetPlatformApplication() |
|
|
const TShare... |
GetPlatformApplication() |
Gets the platform application. |
|
TSharedPtr< ... |
GetPlatformCursor() |
|
|
GetPreferredWorkArea() |
Gets the rectangle of the current preferred work area. |
|
|
FSlateRender... |
GetRenderer() |
Gets the renderer being used to draw this application. |
|
GetSafeZoneRatio ( |
||
|
GetSafeZoneSize |
||
|
GetSoftwareCursorAvailable() |
Whether the software cursor is enabled for this application. |
|
|
GetSoftwareCursorVis() |
Gets the desired visibility of the software cursor |
|
|
const TArray... |
GetTopLevelWindows() |
Get a list of all top-level windows in the application, excluding virtual windows. |
|
TSharedPtr< ... |
GetUserFocusedWidget ( |
|
|
EWindowTrans... |
GetWindowTransparencySupport() |
Get the highest level of window transparency support currently enabled by this application |
|
HasAnyMouseCaptor() |
Gets whether or not a widget has captured the mouse. |
|
|
HasAnyUserFocus ( |
Gets whether or not a particular widget has any users focus, and if so the type of focus (first one found). |
|
|
HasFocusedDescendants ( |
Checks whether the specified widget has any descendants which are currently focused. |
|
|
HasUserFocus ( |
Gets whether or not a particular widget has the specified users focus, and if so the type of focus. |
|
|
HasUserFocusedDescendants ( |
Checks whether the specified widget has any descendants which are currently focused for the specified user user. |
|
|
HasUserMouseCapture ( |
Gets whether or not a widget has captured the mouse for a particular user. |
|
|
InvalidateAllWidgets ( |
Notifies all invalidation panels that they should invalidate their contents |
|
|
IsActive() |
Whether the application is active. |
|
|
IsCustomSafeZoneSet() |
||
|
IsExternalUIOpened() |
Checks whether an UI for external services such as Steam is open. |
|
|
IsInitialized() |
Returns true if a Slate application instance is currently initialized and ready |
|
|
IsSlateAsleep() |
Is Slate currently sleeping or not. |
|
|
IsWidgetDirectlyHovered ( |
Gets whether or not a particular widget is directly hovered. |
|
|
IsWindowHousingInteractiveTooltip ( |
||
|
LocateWidgetInWindow ( |
Given a window, locate a widget under the cursor in it; returns an invalid path if cursor is not over this window. |
|
|
LocateWindowUnderMouse |
Given the screen-space coordinate of the mouse cursor, searches for a string of widgets that are under the mouse. |
|
|
TSharedRef< ... |
MakeImage ( |
Creates an image widget. |
|
TSharedRef< ... |
MakeToolTip ( |
Creates a tool tip with the specified text. |
|
TSharedRef< ... |
MakeToolTip ( |
Creates a tool tip with the specified text. |
|
TSharedRef< ... |
MakeWindowTitleBar ( |
Creates a title bar for the specified window. |
|
FOnGlobalInv... |
OnGlobalInvalidationToggled() |
|
|
FOnInvalidat... |
OnInvalidateAllWidgets() |
|
|
RequestDestroyWindow ( |
Destroying windows has implications on some OSs (e.g. destroying Win32 HWNDs can cause events to be lost). |
|
|
ResetCustomSafeZone() |
||
|
SetAllUserFocus ( |
Sets the focus for all users to the specified widget. The widget must be allowed to receive focus. |
|
|
SetAllUserFocusAllowingDescendantFocus ( |
Sets the focus for all users to the specified widget unless that user is focused on a descendant. |
|
|
SetCustomSafeZone ( |
||
|
SetKeyboardFocus ( |
Sets keyboard focus to the specified widget. The widget must be allowed to receive keyboard focus. |
|
|
SetUserFocus ( |
Sets user focus to the specified widget. The widget must be allowed to receive focus. |
|
|
ShowUserFocus ( |
Gets whether or not a particular widget should show user focus. |
|
|
SwapSafeZoneTypes() |
||
|
ToggleGlobalInvalidation ( |
||
|
UpdateCustomSafeZone |
Name |
Description |
|
---|---|---|
|
FOnGlobalInvalidationToggled |
|
|
FOnInvalidateAllWidgets |
Gets a delegate that is invoked when a global invalidate of all widgets should occur |
Name |
Description |
|
---|---|---|
|
ECustomSafeZoneState |
Name |
Description |
---|---|
CurrentBaseApplication |
Holds a pointer to the current application. |
CursorPointerIndex |
|
CursorUserIndex |
|
PlatformApplication |
Holds a pointer to the platform application. |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
MakeWindowTitleBar ( |
This version of MakeWindowTitleBar has been deprecated. Use the version that takes in an FWindowTitleBarArgs parameter instead. |