CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::ElementChatChar类 参考

字符元素 更多...

类 BUI::ElementChatChar 继承关系图:

Public 成员函数

 ElementChatChar (LPCTSTR text, int color_idx, GFont *font)
virtual ~ElementChatChar ()
void PeekSelectText (BasicStringBuffer &buffer) override
BOOL IsNewLine () override
SIZE CalcSize (GFont *font) override
void OnDraw (ISurface *surface, int x, int y, const GColor &col, RECT *rc_update) override
Public 成员函数 继承自 BUI::ElementChat
 ElementChat ()
virtual ~ElementChat ()
SIZE GetSize () const
void SetSize (SIZE sz)
SIZE GetDisplaySize () const
void SetDisplaySize (SIZE sz)
BOOL IsScaleEnable () const

额外继承的成员函数

Protected 属性 继承自 BUI::ElementChat
SIZE m_sz
SIZE m_sz_show
BOOL m_is_scale

详细描述

字符元素

参数
text: 文本
color_idx: 自定义颜色索引
font:字体

构造及析构函数说明

◆ ElementChatChar()

BUI::ElementChatChar::ElementChatChar ( LPCTSTR text,
int color_idx,
GFont * font )

◆ ~ElementChatChar()

virtual BUI::ElementChatChar::~ElementChatChar ( )
virtual

成员函数说明

◆ CalcSize()

SIZE BUI::ElementChatChar::CalcSize ( GFont * font)
overridevirtual

实现了 BUI::ElementChat.

◆ IsNewLine()

BOOL BUI::ElementChatChar::IsNewLine ( )
overridevirtual

重载 BUI::ElementChat .

◆ OnDraw()

void BUI::ElementChatChar::OnDraw ( ISurface * surface,
int x,
int y,
const GColor & col,
RECT * rc_update )
overridevirtual

实现了 BUI::ElementChat.

◆ PeekSelectText()

void BUI::ElementChatChar::PeekSelectText ( BasicStringBuffer & buffer)
overridevirtual

重载 BUI::ElementChat .

鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有