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

Public Member Functions

 CustomGrid (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name)
void GetFirstVisibleCell (int &frow, int &fcol)
void GetLastVisibleCell (int &lrow, int &lcol)
void SetNumericalRow (int row, int col, int datatype, double value)
void DrawColLabel (wxDC &dc, int col) override
void DrawRowLabel (wxDC &dc, int row) override
void DrawCornerLabel (wxDC &dc) override

Public Attributes

GRIBTable * m_gParent

Detailed Description

Definition at line 65 of file custom_grid.h.

Constructor & Destructor Documentation

◆ CustomGrid()

CustomGrid::CustomGrid ( wxWindow * parent,
wxWindowID id,
const wxPoint & pos,
const wxSize & size,
long style,
const wxString & name )

Definition at line 37 of file custom_grid.cpp.

◆ ~CustomGrid()

CustomGrid::~CustomGrid ( )
override

Definition at line 107 of file custom_grid.cpp.

Member Function Documentation

◆ DrawColLabel()

void CustomGrid::DrawColLabel ( wxDC & dc,
int col )
override

Definition at line 117 of file custom_grid.cpp.

◆ DrawCornerLabel()

void CustomGrid::DrawCornerLabel ( wxDC & dc)
override

Definition at line 195 of file custom_grid.cpp.

◆ DrawRowLabel()

void CustomGrid::DrawRowLabel ( wxDC & dc,
int row )
override

Definition at line 147 of file custom_grid.cpp.

◆ GetFirstVisibleCell()

void CustomGrid::GetFirstVisibleCell ( int & frow,
int & fcol )

Definition at line 357 of file custom_grid.cpp.

◆ GetLastVisibleCell()

void CustomGrid::GetLastVisibleCell ( int & lrow,
int & lcol )

Definition at line 372 of file custom_grid.cpp.

◆ SetNumericalRow()

void CustomGrid::SetNumericalRow ( int row,
int col,
int datatype,
double value )

Definition at line 269 of file custom_grid.cpp.

Member Data Documentation

◆ m_gParent

GRIBTable* CustomGrid::m_gParent

Definition at line 79 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