CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
图标和文本布局工具类 更多...
Public 成员函数 | |
CTextLayout () | |
~CTextLayout () | |
void | SetControlIcon (GImageIconInfo *icon) |
设置图标 | |
void | SetTextAlign (UINT formate) |
设置图片和文本组合整体的对齐方式 | |
UINT | GetTextAlign () const |
BOOL | IsHasTextAlign (UINT bits) const |
void | DrawLabel (ISurface *pSurface, RECT rcView, int paintStates, LPCTSTR text, COLORREF color, RECT *lpUpdate) |
SIZE | GetLayoutStringSize (const GFont *font, LPCTSTR str) |
GImageIconInfo * | GetGImageIconInfo () const |
Protected 属性 | |
UINT | m_nTextAlign |
GImageIconInfo * | m_iconInfo |
int | m_icon_interval |
图标和文本布局工具类
BUI::CTextLayout::CTextLayout | ( | ) |
BUI::CTextLayout::~CTextLayout | ( | ) |
void BUI::CTextLayout::DrawLabel | ( | ISurface * | pSurface, |
RECT | rcView, | ||
int | paintStates, | ||
LPCTSTR | text, | ||
COLORREF | color, | ||
RECT * | lpUpdate | ||
) |
GImageIconInfo * BUI::CTextLayout::GetGImageIconInfo | ( | ) | const |
UINT BUI::CTextLayout::GetTextAlign | ( | ) | const |
void BUI::CTextLayout::SetControlIcon | ( | GImageIconInfo * | icon | ) |
设置图标
void BUI::CTextLayout::SetTextAlign | ( | UINT | formate | ) |
设置图片和文本组合整体的对齐方式
|
protected |
|
protected |
|
protected |