OpenCPN Partial API docs
Loading...
Searching...
No Matches
CustomRenderer Class Reference
Inheritance diagram for CustomRenderer:

Public Member Functions

 CustomRenderer (double dir, bool isdigit)
 
virtual void Draw (wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, const wxRect &rect, int row, int col, bool isSelected)
 
wxSize GetBestSize (wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, int row, int col)
 
wxGridCellRenderer * Clone () const
 

Detailed Description

Definition at line 103 of file CustomGrid.h.

Constructor & Destructor Documentation

◆ CustomRenderer()

CustomRenderer::CustomRenderer ( double  dir,
bool  isdigit 
)
inline

Definition at line 105 of file CustomGrid.h.

Member Function Documentation

◆ Clone()

wxGridCellRenderer * CustomRenderer::Clone ( ) const
inline

Definition at line 115 of file CustomGrid.h.

◆ Draw()

void CustomRenderer::Draw ( wxGrid &  grid,
wxGridCellAttr &  attr,
wxDC &  dc,
const wxRect &  rect,
int  row,
int  col,
bool  isSelected 
)
virtual

Definition at line 386 of file CustomGrid.cpp.

◆ GetBestSize()

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

Definition at line 111 of file CustomGrid.h.


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