dl
dl::UI::ResExplorer类 参考

ui资源浏览器 更多...

#include <dl_ui_res_explorer.h>

继承自 dl::UI::Window .

Public 成员函数

virtual void Update () override
 帧函数 @info 子类重载后,需要调用 Window::Update()
 
 ~ResExplorer ()
 
- Public 成员函数 继承自 dl::UI::Window
void Render ()
 
template<typename T>
T * Cast ()
 
bool IsPickup ()
 
bool IsClickClose ()
 
float GetOrder ()
 
void SetOrder (float order)
 设置绘制顺序
 
void SetSize (const Position &size)
 设置大小
 
void Center ()
 
void SetBackground (UI::Background *bg, bool auto_size=true)
 设置背景
 
UI::Background * GetBackground ()
 
void SetButtonClose (UI::Button *btn)
 设置关闭按钮
 
UI::Button * GetButtonClose ()
 
void SetVisible (bool visible)
 设置是否显示
 
bool IsVisible ()
 
void SetWindowCache (bool cache)
 
void SetWindowModal (bool modal)
 
Panel * GetPanel ()
 
Coor * GetCoor ()
 
void RenderDebug ()
 
void ExFastSet ()
 快速初始化到一般的样式,可作为用法参考
 
Components * GetCpt ()
 
virtual ~Window ()
 

静态 Public 成员函数

static ResExplorer * Create ()
 创建窗口
 

额外继承的成员函数

- Protected 成员函数 继承自 dl::UI::Window
 Window ()
 
- Protected 属性 继承自 dl::UI::Window
Panel * _panel
 

详细描述

ui资源浏览器

在文件 dl_ui_res_explorer.h 第 20 行定义.

构造及析构函数说明

◆ ~ResExplorer()

dl::UI::ResExplorer::~ResExplorer ( )
inline

在文件 dl_ui_res_explorer.h 第 38 行定义.

成员函数说明

◆ Create()

static ResExplorer * dl::UI::ResExplorer::Create ( )
inlinestatic

创建窗口

参数
[in]panel元素模板

在文件 dl_ui_res_explorer.h 第 28 行定义.

◆ Update()

virtual void dl::UI::ResExplorer::Update ( )
overridevirtual

帧函数 @info 子类重载后,需要调用 Window::Update()

重载 dl::UI::Window .


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