OpenCPN Partial API docs
|
A dashboard instrument that displays sunrise and sunset times. More...
#include <clock.h>
Public Member Functions | |
DashboardInstrument_Sun (wxWindow *parent, wxWindowID id, wxString title, InstrumentProperties *Properties, wxString format=_T("%02i:%02i:%02i UTC")) | |
wxSize | GetSize (int orient, wxSize hint) |
void | Draw (wxGCDC *dc) |
void | SetData (DASH_CAP st, double data, wxString unit) |
void | SetUtcTime (wxDateTime value) |
![]() | |
DashboardInstrument_Clock (wxWindow *parent, wxWindowID id, wxString title, InstrumentProperties *Properties, DASH_CAP cap_flag=OCPN_DBP_STC_CLK, wxString format=_T("%02i:%02i:%02i UTC")) | |
wxString | GetDisplayTime (wxDateTime UTCtime) |
bool | getUTC () |
void | setUTC (bool flag) |
![]() | |
DashboardInstrument_Single (wxWindow *pparent, wxWindowID id, wxString title, InstrumentProperties *Properties, DASH_CAP cap, wxString format) | |
![]() | |
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 | |
![]() | |
InstrumentProperties * | m_Properties |
![]() | |
int | instrumentTypeId |
InstrumentProperties * | m_Properties |
![]() | |
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) |
![]() | |
wxString | m_data |
wxString | m_format |
![]() | |
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 |
A dashboard instrument that displays sunrise and sunset times.
DashboardInstrument_Sun::DashboardInstrument_Sun | ( | wxWindow * | parent, |
wxWindowID | id, | ||
wxString | title, | ||
InstrumentProperties * | Properties, | ||
wxString | format = _T( "%02i:%02i:%02i UTC" ) |
||
) |
|
inline |
|
virtual |
Reimplemented from DashboardInstrument_Single.
|
virtual |
Reimplemented from DashboardInstrument_Single.
|
virtual |
Reimplemented from DashboardInstrument_Clock.
|
virtual |
Reimplemented from DashboardInstrument_Clock.