KiCad PCB EDA Suite
|
#include <grid_icon_text_helpers.h>
Public Member Functions | |
GRID_CELL_ICON_TEXT_RENDERER (const std::vector< BITMAPS > &icons, const wxArrayString &names) | |
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 |
Private Attributes | |
std::vector< BITMAPS > | m_icons |
wxArrayString | m_names |
Definition at line 39 of file grid_icon_text_helpers.h.
GRID_CELL_ICON_TEXT_RENDERER::GRID_CELL_ICON_TEXT_RENDERER | ( | const std::vector< BITMAPS > & | icons, |
const wxArrayString & | names | ||
) |
Definition at line 34 of file grid_icon_text_helpers.cpp.
|
override |
Definition at line 42 of file grid_icon_text_helpers.cpp.
References KiBitmapBundle(), m_icons, and m_names.
|
override |
Definition at line 93 of file grid_icon_text_helpers.cpp.
References grid, KiBitmapBundle(), m_icons, and text.
|
private |
Definition at line 49 of file grid_icon_text_helpers.h.
Referenced by Draw(), and GetBestSize().
|
private |
Definition at line 50 of file grid_icon_text_helpers.h.
Referenced by Draw().