engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
GenericApplication类 参考

Generic platform application interface 更多...

#include <GenericApplication.h>

+ 类 GenericApplication 继承关系图:

Public 成员函数

 DECLARE_EVENT_OneParam (FSlateApplication, FVirtualKeyboardShownEvent, FPlatformRect)
 Delegate for virtual keyboard being shown/hidden in case UI wants to slide out of the way
 
virtual ITextInputMethodSystem * GetTextInputMethodSystem ()
 Function to return the current implementation of the Text Input Method System
 
virtual EWindowTitleAlignment::Type GetWindowTitleAlignment () const
 Gets the horizontal alignment of the window title bar's title text.
 
virtual TSharedPtr< FGenericWindow > GetWindowUnderCursor ()
 
virtual bool IsCursorDirectlyOverSlateWindow () const
 
FOnDisplayMetricsChanged & OnDisplayMetricsChanged ()
 Notifies subscribers when any of the display metrics change: e.g. 更多...
 
virtual void SendAnalytics (IAnalyticsProvider *Provider)
 Send any analytics captured by the application
 

Protected 成员函数

void BroadcastDisplayMetricsChanged (const FDisplayMetrics &InMetrics)
 Trigger the OnDisplayMetricsChanged event with the argument 'InMetrics'
 

Protected 属性

FVirtualKeyboardHiddenEvent VirtualKeyboardHiddenEvent
 Delegate for virtual keyboard being shown
 
FVirtualKeyboardShownEvent VirtualKeyboardShownEvent
 Delegate for virtual keyboard being shown
 

详细描述

Generic platform application interface

成员函数说明

◆ GetWindowUnderCursor()

virtual TSharedPtr< FGenericWindow > GenericApplication::GetWindowUnderCursor ( )
inlinevirtual
返回
Native window under the mouse cursor.

被 FMacApplication 重载.

◆ IsCursorDirectlyOverSlateWindow()

virtual bool GenericApplication::IsCursorDirectlyOverSlateWindow ( ) const
inlinevirtual
返回
true if the system cursor is currently directly over a slate window.

被 FMacApplication , 以及 FWindowsApplication 重载.

◆ OnDisplayMetricsChanged()

FOnDisplayMetricsChanged & GenericApplication::OnDisplayMetricsChanged ( )
inline

Notifies subscribers when any of the display metrics change: e.g.

resolution changes or monitor sare re-arranged.


该类的文档由以下文件生成: