engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FLinuxWindow类 参考

A platform specific implementation of FNativeWindow. 更多...

#include <LinuxWindow.h>

继承自 FGenericWindow .

Public 成员函数

virtual void AdjustCachedSize (FVector2D &Size) const override
 
void CacheNativeProperties ()
 Caches window properties that are too expensive to query all the time. 更多...
 
EWindowActivationPolicy GetActivationPolicy () const
 
uint32 GetID () const
 Internal ID using for debugging
 
void GetNativeBordersSize (int32 &OutLeftBorderWidth, int32 &OutTopBorderHeight) const
 Returns window border sizes (frame extents). 更多...
 
const TSharedPtr< FLinuxWindow > & GetParent () const
 TODO: describe
 
bool IsDialogWindow () const
 TODO: describe
 
bool IsDragAndDropWindow () const
 TODO: describe
 
bool IsFocusWhenFirstShown () const
 TODO: describe
 
bool IsNotificationWindow () const
 TODO: describe
 
bool IsPopupMenuWindow () const
 TODO: describe
 
bool IsRegularWindow () const
 TODO: describe
 
bool IsTooltipWindow () const
 TODO: describe
 
bool IsTopLevelWindow () const
 TODO: describe
 
bool IsUtilityWindow () const
 TODO: describe
 
void LogInfo ()
 Debugging function - dumps window info to log
 
virtual void SetText (const TCHAR *const Text) override
 Sets the window text - usually the title but can also be text content for things like controls 更多...
 

静态 Public 成员函数

static TSharedRef< FLinuxWindow > Make ()
 Create a new SDLWindow. 更多...
 

详细描述

A platform specific implementation of FNativeWindow.

Native Windows provide platform-specific backing for and are always owned by an SWindow.

成员函数说明

◆ AdjustCachedSize()

virtual void FLinuxWindow::AdjustCachedSize ( FVector2D &  Size) const
overridevirtual
返回
Gives the native window a chance to adjust our stored window size before we cache it off

◆ CacheNativeProperties()

void FLinuxWindow::CacheNativeProperties ( )

Caches window properties that are too expensive to query all the time.

(e.g. border sizes)

◆ GetActivationPolicy()

EWindowActivationPolicy FLinuxWindow::GetActivationPolicy ( ) const
返回
the window activation policy used when showing the window

◆ GetNativeBordersSize()

void FLinuxWindow::GetNativeBordersSize ( int32 &  OutLeftBorderWidth,
int32 &  OutTopBorderHeight 
) const

Returns window border sizes (frame extents).

参数
BorderWidth- width of a vertical border (left side)
BorderHeight- height of a horizontal border (from the top)

◆ Make()

static TSharedRef< FLinuxWindow > FLinuxWindow::Make ( )
static

Create a new SDLWindow.

参数
SlateWindowsList of all top level Slate windows. This function will add the owner window to this list.
OwnerWindowThe SlateWindow for which we are crating a backing Win32Window
InHInstanceWin32 application instance handle
InParentParent Win32 window; usually NULL.
bShowImmediatelyTrue to show this window as soon as its initialized

◆ SetText()

virtual void FLinuxWindow::SetText ( const TCHAR *const  Text)
overridevirtual

Sets the window text - usually the title but can also be text content for things like controls

参数
TextThe window's title or content text

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