KiCad PCB EDA Suite
Loading...
Searching...
No Matches
STRIPED_CELL_RENDERER< T > Class Template Reference

#include <grid_striped_renderer.h>

Inheritance diagram for STRIPED_CELL_RENDERER< T >:

Public Member Functions

template<typename... Args>
 STRIPED_CELL_RENDERER (const wxColour &aStripeOnDarkBackground, const wxColour &aStripeOnLightBackground, Args &&... aArgs)
 
void Draw (wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, const wxRect &rect, int row, int col, bool isSelected) override
 
wxGridCellRenderer * Clone () const override
 

Private Member Functions

void drawStripedBackground (wxDC &dc, wxGridCellAttr &attr, const wxRect &rect, bool isSelected) const
 

Private Attributes

wxColour m_stripeOnDarkBackground
 
wxColour m_stripeOnLightBackground
 

Detailed Description

template<typename T = wxGridCellStringRenderer>
class STRIPED_CELL_RENDERER< T >

Definition at line 35 of file grid_striped_renderer.h.

Constructor & Destructor Documentation

◆ STRIPED_CELL_RENDERER()

template<typename T = wxGridCellStringRenderer>
template<typename... Args>
STRIPED_CELL_RENDERER< T >::STRIPED_CELL_RENDERER ( const wxColour & aStripeOnDarkBackground,
const wxColour & aStripeOnLightBackground,
Args &&... aArgs )
inline

Member Function Documentation

◆ Clone()

template<typename T = wxGridCellStringRenderer>
wxGridCellRenderer * STRIPED_CELL_RENDERER< T >::Clone ( ) const
inlineoverride

Definition at line 58 of file grid_striped_renderer.h.

◆ Draw()

template<typename T = wxGridCellStringRenderer>
void STRIPED_CELL_RENDERER< T >::Draw ( wxGrid & grid,
wxGridCellAttr & attr,
wxDC & dc,
const wxRect & rect,
int row,
int col,
bool isSelected )
inlineoverride

Definition at line 47 of file grid_striped_renderer.h.

◆ drawStripedBackground()

template<typename T = wxGridCellStringRenderer>
void STRIPED_CELL_RENDERER< T >::drawStripedBackground ( wxDC & dc,
wxGridCellAttr & attr,
const wxRect & rect,
bool isSelected ) const
inlineprivate

Member Data Documentation

◆ m_stripeOnDarkBackground

template<typename T = wxGridCellStringRenderer>
wxColour STRIPED_CELL_RENDERER< T >::m_stripeOnDarkBackground
private

Definition at line 125 of file grid_striped_renderer.h.

◆ m_stripeOnLightBackground

template<typename T = wxGridCellStringRenderer>
wxColour STRIPED_CELL_RENDERER< T >::m_stripeOnLightBackground
private

Definition at line 126 of file grid_striped_renderer.h.


The documentation for this class was generated from the following files: