|
| | 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) override |
| |
| void | SetData (DASH_CAP, double, wxString) override |
| |
| 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=nullptr) |
| |
| 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) |
| |
Definition at line 78 of file dial.h.
◆ DashboardInstrument_Dial()
| 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 |
|
) |
| |
◆ Draw()
| void DashboardInstrument_Dial::Draw |
( |
wxGCDC * |
dc | ) |
|
|
overrideprotectedvirtual |
◆ DrawBackground()
| void DashboardInstrument_Dial::DrawBackground |
( |
wxGCDC * |
dc | ) |
|
|
protectedvirtual |
◆ DrawData()
| void DashboardInstrument_Dial::DrawData |
( |
wxGCDC * |
dc, |
|
|
double |
value, |
|
|
wxString |
unit, |
|
|
wxString |
format, |
|
|
DialPositionOption |
position |
|
) |
| |
|
protectedvirtual |
◆ DrawForeground()
| void DashboardInstrument_Dial::DrawForeground |
( |
wxGCDC * |
dc | ) |
|
|
protectedvirtual |
◆ DrawFrame()
| void DashboardInstrument_Dial::DrawFrame |
( |
wxGCDC * |
dc | ) |
|
|
protectedvirtual |
◆ DrawLabels()
| void DashboardInstrument_Dial::DrawLabels |
( |
wxGCDC * |
dc | ) |
|
|
protectedvirtual |
◆ DrawMarkers()
| void DashboardInstrument_Dial::DrawMarkers |
( |
wxGCDC * |
dc | ) |
|
|
protectedvirtual |
◆ GetSize()
| wxSize DashboardInstrument_Dial::GetSize |
( |
int |
orient, |
|
|
wxSize |
hint |
|
) |
| |
|
overridevirtual |
◆ SetData()
| void DashboardInstrument_Dial::SetData |
( |
DASH_CAP |
st, |
|
|
double |
data, |
|
|
wxString |
unit |
|
) |
| |
|
overridevirtual |
◆ SetOptionExtraValue()
| void DashboardInstrument_Dial::SetOptionExtraValue |
( |
DASH_CAP |
cap, |
|
|
wxString |
format, |
|
|
DialPositionOption |
option |
|
) |
| |
|
inline |
◆ SetOptionLabel()
| void DashboardInstrument_Dial::SetOptionLabel |
( |
double |
step, |
|
|
DialLabelOption |
option, |
|
|
wxArrayString |
labels = wxArrayString() |
|
) |
| |
|
inline |
◆ SetOptionMainValue()
| void DashboardInstrument_Dial::SetOptionMainValue |
( |
wxString |
format, |
|
|
DialPositionOption |
option |
|
) |
| |
|
inline |
◆ SetOptionMarker()
| void DashboardInstrument_Dial::SetOptionMarker |
( |
double |
step, |
|
|
DialMarkerOption |
option, |
|
|
int |
offset |
|
) |
| |
|
inline |
◆ m_angle_range
| int DashboardInstrument_Dial::m_angle_range |
|
protected |
◆ m_angle_start
| int DashboardInstrument_Dial::m_angle_start |
|
protected |
◆ m_cx
| int DashboardInstrument_Dial::m_cx |
|
protected |
◆ m_cy
| int DashboardInstrument_Dial::m_cy |
|
protected |
◆ m_extra_value
| double DashboardInstrument_Dial::m_extra_value |
|
protected |
◆ m_extra_value_cap
| DASH_CAP DashboardInstrument_Dial::m_extra_value_cap |
|
protected |
◆ m_extra_value_format
| wxString DashboardInstrument_Dial::m_extra_value_format |
|
protected |
◆ m_extra_value_option
| DialPositionOption DashboardInstrument_Dial::m_extra_value_option |
|
protected |
◆ m_extra_value_unit
| wxString DashboardInstrument_Dial::m_extra_value_unit |
|
protected |
◆ m_gps_wd
| bool DashboardInstrument_Dial::m_gps_wd |
|
protected |
◆ m_label_array
| wxArrayString DashboardInstrument_Dial::m_label_array |
|
protected |
◆ m_label_option
| DialLabelOption DashboardInstrument_Dial::m_label_option |
|
protected |
◆ m_label_step
| double DashboardInstrument_Dial::m_label_step |
|
protected |
◆ m_main_value
| double DashboardInstrument_Dial::m_main_value |
|
protected |
◆ m_main_value_cap
| DASH_CAP DashboardInstrument_Dial::m_main_value_cap |
|
protected |
◆ m_main_value_format
| wxString DashboardInstrument_Dial::m_main_value_format |
|
protected |
◆ m_main_value_max
| double DashboardInstrument_Dial::m_main_value_max |
|
protected |
◆ m_main_value_min
| double DashboardInstrument_Dial::m_main_value_min |
|
protected |
◆ m_main_value_option
| DialPositionOption DashboardInstrument_Dial::m_main_value_option |
|
protected |
◆ m_main_value_unit
| wxString DashboardInstrument_Dial::m_main_value_unit |
|
protected |
◆ m_marker_offset
| int DashboardInstrument_Dial::m_marker_offset |
|
protected |
◆ m_marker_option
| DialMarkerOption DashboardInstrument_Dial::m_marker_option |
|
protected |
◆ m_marker_step
| double DashboardInstrument_Dial::m_marker_step |
|
protected |
◆ m_radius
| int DashboardInstrument_Dial::m_radius |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/main/main/opencpn/plugins/dashboard_pi/src/dial.h
- /home/runner/work/main/main/opencpn/plugins/dashboard_pi/src/dial.cpp