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>
TCast ()
 
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::BackgroundGetBackground ()
 
void SetButtonClose (UI::Button *btn)
 设置关闭按钮
 
UI::ButtonGetButtonClose ()
 
void SetVisible (bool visible)
 设置是否显示
 
bool IsVisible ()
 
void SetWindowCache (bool cache)
 
void SetWindowModal (bool modal)
 
PanelGetPanel ()
 
CoorGetCoor ()
 
void RenderDebug ()
 
void ExFastSet ()
 快速初始化到一般的样式,可作为用法参考
 
ComponentsGetCpt ()
 
virtual ~Window ()
 

静态 Public 成员函数

static ResExplorerCreate ()
 创建窗口
 

额外继承的成员函数

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

详细描述

ui资源浏览器

在文件 dl_ui_res_explorer.h20 行定义.

构造及析构函数说明

◆ ~ResExplorer()

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

在文件 dl_ui_res_explorer.h38 行定义.

成员函数说明

◆ Create()

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

创建窗口

参数
[in]panel元素模板

在文件 dl_ui_res_explorer.h28 行定义.

◆ Update()

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

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

重载 dl::UI::Window .


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