|
dl
|
ui文件浏览器 更多...
#include <dl_ui_file_explorer.h>
继承自 dl::UI::Window .
Public 成员函数 | |
| void | SetOnlyFolder (bool only_folder) |
| void | SetPathCurrent (std::string_view path) |
| 设置当前目录 | |
| void | SetTargetName (std::string_view name) |
| std::string | GetPathCurrent () |
| 当前显示的目录 | |
| std::string | GetPathSelect () |
| 当前选中的目录(没选中则返回GetPathCurrent) | |
| void | Refresh () |
| virtual void | Update () override |
| 帧函数 @info 子类重载后,需要调用 Window::Update() | |
| ~FileExplorer () | |
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 FileExplorer * | Create (UI::Text *txt_path, UI::ListBox *lst, UI::ListBox *lst_root) |
| 创建窗口 | |
额外继承的成员函数 | |
Protected 成员函数 继承自 dl::UI::Window | |
| Window () | |
Protected 属性 继承自 dl::UI::Window | |
| Panel * | _panel |
ui文件浏览器
在文件 dl_ui_file_explorer.h 第 24 行定义.
|
inline |
在文件 dl_ui_file_explorer.h 第 75 行定义.
|
inlinestatic |
|
inline |
当前显示的目录
在文件 dl_ui_file_explorer.h 第 58 行定义.
|
inline |
当前选中的目录(没选中则返回GetPathCurrent)
在文件 dl_ui_file_explorer.h 第 61 行定义.
| void dl::UI::FileExplorer::Refresh | ( | ) |
|
inline |
在文件 dl_ui_file_explorer.h 第 42 行定义.
|
inline |
设置当前目录
在文件 dl_ui_file_explorer.h 第 47 行定义.
|
inline |
在文件 dl_ui_file_explorer.h 第 52 行定义.
|
overridevirtual |
帧函数 @info 子类重载后,需要调用 Window::Update()
重载 dl::UI::Window .