OpenCPN Partial API docs
|
Public Member Functions | |
DashboardInstrument_AppTrueWindAngle (wxWindow *parent, wxWindowID id, wxString title, InstrumentProperties *Properties, DASH_CAP cap_flag) | |
void | SetData (DASH_CAP, double, wxString) |
![]() | |
DashboardInstrument_Dial (wxWindow *parent, wxWindowID id, wxString title, InstrumentProperties *Properties, DASH_CAP cap_flag, int s_angle, int r_angle, int s_value, int e_value) | |
wxSize | GetSize (int orient, wxSize hint) |
void | SetData (DASH_CAP, double, wxString) |
void | SetOptionMarker (double step, DialMarkerOption option, int offset) |
void | SetOptionLabel (double step, DialLabelOption option, wxArrayString labels=wxArrayString()) |
void | SetOptionMainValue (wxString format, DialPositionOption option) |
void | SetOptionExtraValue (DASH_CAP cap, wxString format, DialPositionOption option) |
![]() | |
DashboardInstrument (wxWindow *pparent, wxWindowID id, wxString title, DASH_CAP cap_flag, InstrumentProperties *Properties=NULL) | |
CapType | GetCapacity () |
void | OnEraseBackground (wxEraseEvent &WXUNUSED(evt)) |
void | OnPaint (wxPaintEvent &WXUNUSED(event)) |
void | SetDrawSoloInPane (bool value) |
void | MouseEvent (wxMouseEvent &event) |
void | OnLeftUp (wxMouseEvent &event) |
void | SetCapFlag (DASH_CAP val) |
bool | HasCapFlag (DASH_CAP val) |
Protected Member Functions | |
void | DrawBackground (wxGCDC *dc) |
virtual void | Draw (wxGCDC *dc) |
virtual void | DrawForeground (wxGCDC *dc) |
virtual void | DrawData (wxGCDC *dc, double value, wxString unit, wxString format, DialPositionOption position) |
![]() | |
virtual void | DrawFrame (wxGCDC *dc) |
virtual void | DrawMarkers (wxGCDC *dc) |
virtual void | DrawLabels (wxGCDC *dc) |
![]() | |
virtual void | InitDataTextHeight (const wxString &sampleText, int &sampleWidth) |
virtual void | InitTitleSize () |
virtual void | InitTitleAndDataPosition (int drawHeight) |
virtual int | GetFullHeight (int drawHeight) |
virtual int | GetDataBottom (int clientHeight) |
virtual void | SetDataFont (wxGCDC *dc) |
Additional Inherited Members | |
![]() | |
int | instrumentTypeId |
InstrumentProperties * | m_Properties |
DashboardInstrument_AppTrueWindAngle::DashboardInstrument_AppTrueWindAngle | ( | wxWindow * | parent, |
wxWindowID | id, | ||
wxString | title, | ||
InstrumentProperties * | Properties, | ||
DASH_CAP | cap_flag | ||
) |
|
inline |
|
protectedvirtual |
Reimplemented from DashboardInstrument_Dial.
|
protectedvirtual |
Reimplemented from DashboardInstrument_Dial.
|
protectedvirtual |
Reimplemented from DashboardInstrument_Dial.
|
protectedvirtual |
Reimplemented from DashboardInstrument_Dial.
|
virtual |
Implements DashboardInstrument.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |