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

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

#include <WindowsWindow.h>

继承自 FGenericWindow , 以及 IDropTarget .

Public 成员函数

virtual void AdjustCachedSize (FVector2D &Size) const override
 
void AdjustWindowRegion (int32 Width, int32 Height)
 Sets the window region to specified dimensions. 更多...
 
HWND GetHWnd () const
 Gets the Window's handle. 更多...
 
bool IsEnabled ()
 
virtual bool IsManualManageDPIChanges () const override
 determines whether or not this window does its own DPI management
 
bool IsRegularWindow () const
 Sets the window text (usually the title but can also be text content for things like controls). 更多...
 
void OnParentWindowMinimized ()
 Called when our parent window is minimized (which will in turn cause us to become minimized).
 
void OnParentWindowRestored ()
 Called when our parent window is restored (which will in turn cause us to become restored).
 
void OnTransparencySupportChanged (EWindowTransparency NewTransparency)
 Called by the owning application when the level of transparency support has changed
 
virtual void SetManualManageDPIChanges (const bool bManualDPIChanges) override
 call with a true argument if this window need to do its custom size management in response to DPI variations
 
 ~FWindowsWindow ()
 Destructor.
 

静态 Public 成员函数

static TSharedRef< FWindowsWindow > Make ()
 Create a new FWin32Window.
 

静态 Public 属性

static const TCHAR AppWindowClass []
 Win32 requirement: see CreateWindowEx and RegisterClassEx.
 

详细描述

A platform specific implementation of FNativeWindow.

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

成员函数说明

◆ AdjustCachedSize()

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

◆ AdjustWindowRegion()

void FWindowsWindow::AdjustWindowRegion ( int32  Width,
int32  Height 
)

Sets the window region to specified dimensions.

参数
WidthThe width of the window region (in pixels).
HeightThe height of the window region (in pixels).

◆ GetHWnd()

HWND FWindowsWindow::GetHWnd ( ) const

Gets the Window's handle.

返回
The window's HWND handle.

◆ IsEnabled()

bool FWindowsWindow::IsEnabled ( )
返回
True if the window is enabled

◆ IsRegularWindow()

bool FWindowsWindow::IsRegularWindow ( ) const

Sets the window text (usually the title but can also be text content for things like controls).

参数
TextThe window's title or content text

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