CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
Public 成员函数 | |
CToastBox () | |
~CToastBox () | |
CContainLayoutUI * | GetContainLayoutUI () |
获得顶层UI控件对象。可用于开发者的定制控件风格。如颜色,字体大小。 如需更高程序的定制化。可自行封装UI模板 | |
CImageViewUI * | GetImageUI () |
CLabelUI * | GetLabelUI () |
void | PopupText (IManageHandler *pM, LPCTSTR text_type, LPCTSTR msg, int hide_delay=1000, BOOL update=FALSE, int anim_time=0, int anim_angle=15) |
弹出自动延时隐藏消息框 | |
void | PopupTextA (IManageHandler *pM, LPCSTR text_type, LPCSTR msg, int hide_delay=1000, BOOL update=FALSE, int anim_time=0, int anim_angle=15) |
void | PopupTextW (IManageHandler *pM, LPCWSTR text_type, LPCWSTR msg, int hide_delay=1000, BOOL update=FALSE, int anim_time=0, int anim_angle=15) |
BUI::CToastBox::CToastBox | ( | ) |
BUI::CToastBox::~CToastBox | ( | ) |
CContainLayoutUI * BUI::CToastBox::GetContainLayoutUI | ( | ) |
获得顶层UI控件对象。可用于开发者的定制控件风格。如颜色,字体大小。 如需更高程序的定制化。可自行封装UI模板
CImageViewUI * BUI::CToastBox::GetImageUI | ( | ) |
CLabelUI * BUI::CToastBox::GetLabelUI | ( | ) |
void BUI::CToastBox::PopupText | ( | IManageHandler * | pM, |
LPCTSTR | text_type, | ||
LPCTSTR | msg, | ||
int | hide_delay = 1000 , |
||
BOOL | update = FALSE , |
||
int | anim_time = 0 , |
||
int | anim_angle = 15 |
||
) |
弹出自动延时隐藏消息框
IManageHandler | 消息弹出的目标位置。为NULL时,表示在上次的位置弹出 |
text_type | 图标id |
msg | 消息内容 |
hide_delay | 超过指定时长(毫秒)后自动隐藏 |
anim_time | 下一帧图标动画等待时长 |
anim_angle | 每一帧图标动画旋转角度步长 |
void BUI::CToastBox::PopupTextA | ( | IManageHandler * | pM, |
LPCSTR | text_type, | ||
LPCSTR | msg, | ||
int | hide_delay = 1000 , |
||
BOOL | update = FALSE , |
||
int | anim_time = 0 , |
||
int | anim_angle = 15 |
||
) |
void BUI::CToastBox::PopupTextW | ( | IManageHandler * | pM, |
LPCWSTR | text_type, | ||
LPCWSTR | msg, | ||
int | hide_delay = 1000 , |
||
BOOL | update = FALSE , |
||
int | anim_time = 0 , |
||
int | anim_angle = 15 |
||
) |