KiCad PCB EDA Suite
|
A general-purpose text renderer for WX_GRIDs backed by WX_GRID_TABLE_BASE tables that can handle drawing expand/collapse controls. More...
#include <grid_text_helpers.h>
Public Member Functions | |
GRID_CELL_TEXT_RENDERER () | |
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 |
A general-purpose text renderer for WX_GRIDs backed by WX_GRID_TABLE_BASE tables that can handle drawing expand/collapse controls.
Definition at line 56 of file grid_text_helpers.h.
GRID_CELL_TEXT_RENDERER::GRID_CELL_TEXT_RENDERER | ( | ) |
Definition at line 82 of file grid_text_helpers.cpp.
|
override |
Definition at line 87 of file grid_text_helpers.cpp.
References CHILD_ITEM, ROW_ICON_PROVIDER::CLOSED, KIPLATFORM::UI::GetPixelScaleFactor(), GROUP_COLLAPSED, GROUP_EXPANDED, ROW_ICON_PROVIDER::OFF, ROW_ICON_PROVIDER::OPEN, and table.
|
override |
Definition at line 137 of file grid_text_helpers.cpp.
References CHILD_ITEM, KIPLATFORM::UI::GetPixelScaleFactor(), grid, ROW_ICON_PROVIDER::OFF, table, and text.