21#ifndef KICAD_GRID_BITMAP_TOGGLE_H
22#define KICAD_GRID_BITMAP_TOGGLE_H
35 const wxBitmap& aUncheckedBitmap );
41 void Draw( wxGrid& aGrid, wxGridCellAttr& aAttr, wxDC& aDc,
const wxRect& aRect,
42 int aRow,
int aCol,
bool aIsSelected )
override;
44 wxSize
GetBestSize( wxGrid& aGrid, wxGridCellAttr& aAttr, wxDC& aDc,
45 int aRow,
int aCol)
override;
A toggle button renderer for a wxGrid, similar to BITMAP_TOGGLE.
~GRID_BITMAP_TOGGLE_RENDERER()
void Draw(wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDc, const wxRect &aRect, int aRow, int aCol, bool aIsSelected) override
wxBitmap m_bitmapUnchecked
wxSize GetBestSize(wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDc, int aRow, int aCol) override
GRID_BITMAP_TOGGLE_RENDERER * Clone() const override