dl
类 | 命名空间
dl_ui_button_base.h 文件参考

UI系统之按钮基类 更多...

#include "math/dl_coor.h"
#include "dl_type.h"
#include "io/dl_input.h"
#include "dl_align.h"
#include "dl_component.h"

浏览源代码.

类

class  dl::UI::ButtonBase
 按钮(Button、Switch、Radio) 更多...
 

命名空间

namespace  dl
 
namespace  dl::UI
 

详细描述

UI系统之按钮基类

版本
1.0
作者
lveyou
日期
22-10-08
注解
按钮、开关、Radio的逻辑相似,都算Control
以主流的界面设计(渐变效果)
状态是瞬间切换,方便代码处理(界面是渐变处理)
tab等操作与控件无关,在Panel处理(添加一个合适大小的选中框)

在文件 dl_ui_button_base.h 中定义.