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

Public Member Functions

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

Detailed Description

Definition at line 106 of file custom_grid.h.

Constructor & Destructor Documentation

◆ CustomRenderer()

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

Definition at line 108 of file custom_grid.h.

Member Function Documentation

◆ Clone()

wxGridCellRenderer * CustomRenderer::Clone ( ) const
inlinenodiscardoverride

Definition at line 118 of file custom_grid.h.

◆ Draw()

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

Definition at line 389 of file custom_grid.cpp.

◆ GetBestSize()

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

Definition at line 114 of file custom_grid.h.


The documentation for this class was generated from the following files:
  • /home/runner/work/main/main/opencpn/plugins/grib_pi/src/custom_grid.h
  • /home/runner/work/main/main/opencpn/plugins/grib_pi/src/custom_grid.cpp