#include <grid_icon_text_helpers.h>
|
| GRID_CELL_ICON_RENDERER (const wxBitmap &icon) |
|
void | Draw (wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDC, const wxRect &aRect, int aRow, int aCol, bool isSelected) override |
|
wxSize | GetBestSize (wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, int row, int col) override |
|
wxGridCellRenderer * | Clone () const override |
|
Definition at line 57 of file grid_icon_text_helpers.h.
◆ GRID_CELL_ICON_RENDERER()
GRID_CELL_ICON_RENDERER::GRID_CELL_ICON_RENDERER |
( |
const wxBitmap & |
icon | ) |
|
◆ Clone()
wxGridCellRenderer * GRID_CELL_ICON_RENDERER::Clone |
( |
| ) |
const |
|
override |
◆ Draw()
void GRID_CELL_ICON_RENDERER::Draw |
( |
wxGrid & |
aGrid, |
|
|
wxGridCellAttr & |
aAttr, |
|
|
wxDC & |
aDC, |
|
|
const wxRect & |
aRect, |
|
|
int |
aRow, |
|
|
int |
aCol, |
|
|
bool |
isSelected |
|
) |
| |
|
override |
Definition at line 93 of file grid_icon_text_helpers.cpp.
100 wxGridCellRenderer::Draw( aGrid, aAttr, aDC, aRect, aRow, aCol, isSelected );
106 rect.GetLeft() + ( rect.GetWidth() -
m_icon.GetWidth() ) / 2,
107 rect.GetTop() + ( rect.GetHeight() -
m_icon.GetHeight() ) / 2,
References m_icon.
◆ GetBestSize()
wxSize GRID_CELL_ICON_RENDERER::GetBestSize |
( |
wxGrid & |
grid, |
|
|
wxGridCellAttr & |
attr, |
|
|
wxDC & |
dc, |
|
|
int |
row, |
|
|
int |
col |
|
) |
| |
|
override |
◆ m_icon
const wxBitmap& GRID_CELL_ICON_RENDERER::m_icon |
|
private |
The documentation for this class was generated from the following files: