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

A reply to the OnQueryCursor event. 更多...

#include <CursorReply.h>

继承自 TReplyBase< ReplyType > .

Public 成员函数

EMouseCursor::Type GetCursorType () const
 
TSharedPtr< SWidget > GetCursorWidget () const
 
TSharedPtr< SWindow > GetCursorWindow () const
 
void SetCursorWidget (TSharedPtr< SWindow > InCursorWindow, TSharedPtr< SWidget > InCursorWidget)
 Set the Cursor Widget, used by slate application to set the cursor widget if the MapCursor returns a widget.
 

静态 Public 成员函数

static FCursorReply Cursor (EMouseCursor::Type InCursor)
 Respond with a specific cursor. 更多...
 
static FCursorReply Unhandled ()
 Makes a NULL response meaning no prefersce. 更多...
 

详细描述

A reply to the OnQueryCursor event.

成员函数说明

◆ Cursor()

static FCursorReply FCursorReply::Cursor ( EMouseCursor::Type  InCursor)
inlinestatic

Respond with a specific cursor.

This cursor will be used and no other widgets will be asked.

◆ GetCursorType()

EMouseCursor::Type FCursorReply::GetCursorType ( ) const
inline
返回
The requested MouseCursor if no custom widget is set and the event was handled.

◆ GetCursorWidget()

TSharedPtr< SWidget > FCursorReply::GetCursorWidget ( ) const
inline
返回
The custom Cursor Widget to render if set and the event was handled.

◆ GetCursorWindow()

TSharedPtr< SWindow > FCursorReply::GetCursorWindow ( ) const
inline
返回
The window to render the Cursor Widget in.

◆ Unhandled()

static FCursorReply FCursorReply::Unhandled ( )
inlinestatic

Makes a NULL response meaning no prefersce.

i.e. If your widget returns this, its parent will get to decide what the cursor shoudl be. This is the default behavior for a widget.


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