dl
dl_ui_progress_bar.h 文件参考

UI之进度条 更多...

#include "base/dl_string.h"
#include "misc/dl_component_use.h"
#include "base/dl_type_def.h"
#include "math/dl_coor.h"
#include "math/dl_math.h"
#include "math/dl_algorithm.h"
#include "ui/dl_ui_background.h"
#include "ui/dl_ui_text.h"
#include "ui/dl_ui_panel.h"

浏览该文件的源代码.

class  dl::UI::ProgressBar
 ui进度条 更多...
 

命名空间

namespace  dl
 
namespace  dl::UI
 UI系统
 

详细描述

UI之进度条

版本
1.0
作者
lveyou
日期
26-09-07
注解
包含一个 背景、进度图片、进度文本、前景 进度条整体作为一个元素(Components)加入Panel: background 为背景、mid 为按进度裁切的填充图、text 为进度文本、front 为前景(如边框)。 四者均挂载到进度条自身的Panel下,跟随进度条整体移动, 并可通过 GetPanel() 再挂载其它ui。 Create 会接管四个子元素的生命周期,删除进度条时会一并释放。

在文件 dl_ui_progress_bar.h 中定义.