|
OpenCPN Partial API docs
|
Public Member Functions | |
| DashboardInstrument_Speedometer (wxWindow *parent, wxWindowID id, wxString title, InstrumentProperties *Properties, DASH_CAP cap_flag, int s_value, int e_value) | |
Public Member Functions inherited from DashboardInstrument_Dial | |
| 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) |
Public Member Functions inherited from DashboardInstrument | |
| 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) |
Additional Inherited Members | |
Public Attributes inherited from DashboardInstrument | |
| int | instrumentTypeId |
| InstrumentProperties * | m_Properties |
Protected Member Functions inherited from DashboardInstrument_Dial | |
| virtual void | Draw (wxGCDC *dc) |
| virtual void | DrawFrame (wxGCDC *dc) |
| virtual void | DrawMarkers (wxGCDC *dc) |
| virtual void | DrawLabels (wxGCDC *dc) |
| virtual void | DrawBackground (wxGCDC *dc) |
| virtual void | DrawData (wxGCDC *dc, double value, wxString unit, wxString format, DialPositionOption position) |
| virtual void | DrawForeground (wxGCDC *dc) |
Protected Member Functions inherited from DashboardInstrument | |
| 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) |
Protected Attributes inherited from DashboardInstrument_Dial | |
| int | m_cx |
| int | m_cy |
| int | m_radius |
| int | m_AngleStart |
| int | m_AngleRange |
| bool | m_gpsWD |
| double | m_MainValue |
| DASH_CAP | m_MainValueCap |
| double | m_MainValueMin |
| double | m_MainValueMax |
| wxString | m_MainValueFormat |
| wxString | m_MainValueUnit |
| DialPositionOption | m_MainValueOption |
| double | m_ExtraValue |
| DASH_CAP | m_ExtraValueCap |
| wxString | m_ExtraValueFormat |
| wxString | m_ExtraValueUnit |
| DialPositionOption | m_ExtraValueOption |
| DialMarkerOption | m_MarkerOption |
| int | m_MarkerOffset |
| double | m_MarkerStep |
| double | m_LabelStep |
| DialLabelOption | m_LabelOption |
| wxArrayString | m_LabelArray |
Protected Attributes inherited from DashboardInstrument | |
| CapType | m_cap_flag |
| int | m_InstrumentSpacing |
| int | m_DataTextHeight |
| int | m_DataMargin |
| int | m_TitleWidth |
| int | m_TitleHeight |
| int | m_DataTop |
| int | m_TitleTop |
| bool | m_DataRightAlign |
| bool | m_TitleRightAlign |
| wxString | m_title |
Definition at line 55 of file speedometer.h.
| DashboardInstrument_Speedometer::DashboardInstrument_Speedometer | ( | wxWindow * | parent, |
| wxWindowID | id, | ||
| wxString | title, | ||
| InstrumentProperties * | Properties, | ||
| DASH_CAP | cap_flag, | ||
| int | s_value, | ||
| int | e_value ) |
Definition at line 46 of file speedometer.cpp.
|
inline |
Definition at line 62 of file speedometer.h.