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

Class ProjectBoatPanel. More...

#include <grib_ui_dlg_base.h>

Inheritance diagram for ProjectBoatPanel:

Public Member Functions

 ProjectBoatPanel (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(580, 40), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
double GetCourse ()
double GetSpeed ()
bool ProjectionEnabled ()
void SetCourse (const double course)
void SetSpeed (const double speed)
void EnableProjection (bool enabled)

Protected Attributes

wxCheckBox * m_cbProjectPosition
wxStaticText * m_stCourse
wxTextCtrl * m_tCourse
wxStaticText * m_stSpeed
wxTextCtrl * m_tSpeed
wxStaticText * m_stSpeedUnit

Detailed Description

Class ProjectBoatPanel.

Definition at line 133 of file grib_ui_dlg_base.h.

Constructor & Destructor Documentation

◆ ProjectBoatPanel()

ProjectBoatPanel::ProjectBoatPanel ( wxWindow * parent,
wxWindowID id = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxSize(580, 40),
long style = wxTAB_TRAVERSAL,
const wxString & name = wxEmptyString )

Definition at line 3656 of file grib_ui_dlg_base.cpp.

Member Function Documentation

◆ EnableProjection()

void ProjectBoatPanel::EnableProjection ( bool enabled)
inline

Definition at line 162 of file grib_ui_dlg_base.h.

◆ GetCourse()

double ProjectBoatPanel::GetCourse ( )

Definition at line 3700 of file grib_ui_dlg_base.cpp.

◆ GetSpeed()

double ProjectBoatPanel::GetSpeed ( )

Definition at line 3708 of file grib_ui_dlg_base.cpp.

◆ ProjectionEnabled()

bool ProjectBoatPanel::ProjectionEnabled ( )

Definition at line 3716 of file grib_ui_dlg_base.cpp.

◆ SetCourse()

void ProjectBoatPanel::SetCourse ( const double course)
inline

Definition at line 155 of file grib_ui_dlg_base.h.

◆ SetSpeed()

void ProjectBoatPanel::SetSpeed ( const double speed)
inline

Definition at line 159 of file grib_ui_dlg_base.h.

Member Data Documentation

◆ m_cbProjectPosition

wxCheckBox* ProjectBoatPanel::m_cbProjectPosition
protected

Definition at line 136 of file grib_ui_dlg_base.h.

◆ m_stCourse

wxStaticText* ProjectBoatPanel::m_stCourse
protected

Definition at line 137 of file grib_ui_dlg_base.h.

◆ m_stSpeed

wxStaticText* ProjectBoatPanel::m_stSpeed
protected

Definition at line 139 of file grib_ui_dlg_base.h.

◆ m_stSpeedUnit

wxStaticText* ProjectBoatPanel::m_stSpeedUnit
protected

Definition at line 141 of file grib_ui_dlg_base.h.

◆ m_tCourse

wxTextCtrl* ProjectBoatPanel::m_tCourse
protected

Definition at line 138 of file grib_ui_dlg_base.h.

◆ m_tSpeed

wxTextCtrl* ProjectBoatPanel::m_tSpeed
protected

Definition at line 140 of file grib_ui_dlg_base.h.


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