KiCad PCB EDA Suite
|
Attribute provider that provides attributes (or modifies the existing attribute) to alternate a row color between the odd and even rows. More...
Public Member Functions | |
WX_GRID_ALT_ROW_COLOR_PROVIDER (const wxColor &aBaseColor) | |
void | UpdateColors (const wxColor &aBaseColor) |
wxGridCellAttr * | GetAttr (int row, int col, wxGridCellAttr::wxAttrKind kind) const override |
Private Attributes | |
wxGridCellAttrPtr | m_attrOdd |
Attribute provider that provides attributes (or modifies the existing attribute) to alternate a row color between the odd and even rows.
Definition at line 123 of file wx_grid.cpp.
|
inline |
Definition at line 126 of file wx_grid.cpp.
References UpdateColors().
|
inlineoverride |
Definition at line 142 of file wx_grid.cpp.
References m_attrOdd.
|
inline |
Definition at line 133 of file wx_grid.cpp.
References KIPLATFORM::UI::IsDarkTheme(), and m_attrOdd.
Referenced by WX_GRID_ALT_ROW_COLOR_PROVIDER().
|
private |
Definition at line 168 of file wx_grid.cpp.
Referenced by GetAttr(), and UpdateColors().