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

Public 成员函数

 CTreeRowCell ()
 ~CTreeRowCell ()
UINT Size () const
 单元格总数
BOOL InsertDataCell (int column, const std::shared_ptr< CNodeSpanCell > &cell)
 插入单元格
void AppendDataCell (const std::shared_ptr< CNodeSpanCell > &cell)
 在末尾添加单元格
void RemoveDataCell (int column)
 删除单元格
void Clear ()
 清除所有单元格
CNodeSpanCellGetSubCell (int col)
 获得单元格
void OnAllocNodeCell (int idx_col, int count)
void OnDeleteCol (int idx_col, int count)
void OnNodeCollapsed ()
void OnSetNodeRect (int col, int x, int y, int w, int h)
void OnDrawTreeCell (int col, ISurface *surface, RECT rc_cell, const GColor &color_text, UINT text_align)
BOOL SetCellSelected (int start, int end, BOOL is_select)

Protected 属性

std::vector< std::shared_ptr< CNodeSpanCell > > m_row_of_cells

构造及析构函数说明

◆ CTreeRowCell()

BUI::CTreeRowCell::CTreeRowCell ( )

◆ ~CTreeRowCell()

BUI::CTreeRowCell::~CTreeRowCell ( )

成员函数说明

◆ AppendDataCell()

void BUI::CTreeRowCell::AppendDataCell ( const std::shared_ptr< CNodeSpanCell > & cell)

在末尾添加单元格

◆ Clear()

void BUI::CTreeRowCell::Clear ( )

清除所有单元格

◆ GetSubCell()

CNodeSpanCell * BUI::CTreeRowCell::GetSubCell ( int col)

获得单元格

◆ InsertDataCell()

BOOL BUI::CTreeRowCell::InsertDataCell ( int column,
const std::shared_ptr< CNodeSpanCell > & cell )

插入单元格

参数
column索引位置
cell: 单元格对象

◆ OnAllocNodeCell()

void BUI::CTreeRowCell::OnAllocNodeCell ( int idx_col,
int count )

◆ OnDeleteCol()

void BUI::CTreeRowCell::OnDeleteCol ( int idx_col,
int count )

◆ OnDrawTreeCell()

void BUI::CTreeRowCell::OnDrawTreeCell ( int col,
ISurface * surface,
RECT rc_cell,
const GColor & color_text,
UINT text_align )

◆ OnNodeCollapsed()

void BUI::CTreeRowCell::OnNodeCollapsed ( )

◆ OnSetNodeRect()

void BUI::CTreeRowCell::OnSetNodeRect ( int col,
int x,
int y,
int w,
int h )

◆ RemoveDataCell()

void BUI::CTreeRowCell::RemoveDataCell ( int column)

删除单元格

参数
column索引位置

◆ SetCellSelected()

BOOL BUI::CTreeRowCell::SetCellSelected ( int start,
int end,
BOOL is_select )

◆ Size()

UINT BUI::CTreeRowCell::Size ( ) const

单元格总数

类成员变量说明

◆ m_row_of_cells

std::vector<std::shared_ptr<CNodeSpanCell> > BUI::CTreeRowCell::m_row_of_cells
protected
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有