OpenCPN Partial API docs
Loading...
Searching...
No Matches
BitmapEnableCellRenderer Class Reference

Custom renderer class for rendering ENABLE in a grid cell. More...

Inheritance diagram for BitmapEnableCellRenderer:

Public Member Functions

 BitmapEnableCellRenderer (int _size, ColorScheme cs)
 
BitmapEnableCellRendererClone () const override
 
wxSize GetBestSize (wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, int row, int col) override
 

Detailed Description

Custom renderer class for rendering ENABLE in a grid cell.

Allows setting of rendered Icon size

Definition at line 238 of file connections_dlg.cpp.

Constructor & Destructor Documentation

◆ BitmapEnableCellRenderer()

BitmapEnableCellRenderer::BitmapEnableCellRenderer ( int  _size,
ColorScheme  cs 
)
inline

Definition at line 240 of file connections_dlg.cpp.

Member Function Documentation

◆ Clone()

BitmapEnableCellRenderer * BitmapEnableCellRenderer::Clone ( ) const
inlineoverride

Definition at line 242 of file connections_dlg.cpp.

◆ GetBestSize()

wxSize BitmapEnableCellRenderer::GetBestSize ( wxGrid &  grid,
wxGridCellAttr &  attr,
wxDC &  dc,
int  row,
int  col 
)
inlineoverride

Definition at line 246 of file connections_dlg.cpp.


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