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