|
OpenCPN Partial API docs
|
Dashboard instrument base class. More...
#include <bitset>#include <wx/wxprec.h>#include <wx/wx.h>#include <wx/dcbuffer.h>#include <wx/dcgraph.h>#include <wx/fontdata.h>#include "ocpn_plugin.h"Go to the source code of this file.
Classes | |
| class | InstrumentProperties |
| class | DashboardInstrument |
| class | DashboardInstrument_Single |
| class | DashboardInstrument_Position |
Macros | |
| #define | wxGCDC wxDC |
| #define | DefaultWidth 150 |
| #define | N_INSTRUMENTS ((int)OCPN_DBP_STC_LAST) |
Typedefs | |
| using | CapType = std::bitset< N_INSTRUMENTS > |
Enumerations | |
| enum | DASH_CAP { OCPN_DBP_STC_LAT = 0 , OCPN_DBP_STC_LON , OCPN_DBP_STC_SOG , OCPN_DBP_STC_COG , OCPN_DBP_STC_STW , OCPN_DBP_STC_HDM , OCPN_DBP_STC_HDT , OCPN_DBP_STC_HMV , OCPN_DBP_STC_BRG , OCPN_DBP_STC_AWA , OCPN_DBP_STC_AWS , OCPN_DBP_STC_TWA , OCPN_DBP_STC_TWS , OCPN_DBP_STC_DPT , OCPN_DBP_STC_TMP , OCPN_DBP_STC_VMG , OCPN_DBP_STC_VMGW , OCPN_DBP_STC_RSA , OCPN_DBP_STC_SAT , OCPN_DBP_STC_GPS , OCPN_DBP_STC_PLA , OCPN_DBP_STC_PLO , OCPN_DBP_STC_CLK , OCPN_DBP_STC_MON , OCPN_DBP_STC_ATMP , OCPN_DBP_STC_TWD , OCPN_DBP_STC_TWS2 , OCPN_DBP_STC_VLW1 , OCPN_DBP_STC_VLW2 , OCPN_DBP_STC_MDA , OCPN_DBP_STC_MCOG , OCPN_DBP_STC_PITCH , OCPN_DBP_STC_HEEL , OCPN_DBP_STC_ALTI , OCPN_DBP_STC_HUM , OCPN_DBP_STC_WCC , OCPN_DBP_STC_LAST } |
Functions | |
| wxString | toSDMM (int NEflag, double a) |
| wxColour | GetColourSchemeBackgroundColour (wxColour co) |
| wxColour | GetColourSchemeFont (wxColour co) |
Variables | |
| const wxString | DEGREE_SIGN = wxString::Format("%c", 0x00B0) |
| wxFontData * | g_pFontTitle |
| wxFontData * | g_pFontData |
| wxFontData * | g_pFontLabel |
| wxFontData * | g_pFontSmall |
| wxFontData * | g_pUSFontTitle |
| wxFontData * | g_pUSFontData |
| wxFontData * | g_pUSFontLabel |
| wxFontData * | g_pUSFontSmall |
| wxAlignment | g_TitleAlignment |
| double | g_TitleVerticalOffset |
| int | g_iTitleMargin |
| bool | g_bShowUnit |
| wxAlignment | g_DataAlignment |
| int | g_iDataMargin |
| int | g_iInstrumentSpacing |
Dashboard instrument base class.
Definition in file instrument.h.
| #define DefaultWidth 150 |
Definition at line 47 of file instrument.h.
| #define N_INSTRUMENTS ((int)OCPN_DBP_STC_LAST) |
Definition at line 120 of file instrument.h.
| #define wxGCDC wxDC |
Definition at line 37 of file instrument.h.
| using CapType = std::bitset<N_INSTRUMENTS> |
Definition at line 123 of file instrument.h.
| enum DASH_CAP |
Definition at line 77 of file instrument.h.
| wxColour GetColourSchemeBackgroundColour | ( | wxColour | co | ) |
Definition at line 43 of file instrument.cpp.
| wxColour GetColourSchemeFont | ( | wxColour | co | ) |
Definition at line 77 of file instrument.cpp.
| wxString toSDMM | ( | int | NEflag, |
| double | a | ||
| ) |
Definition at line 539 of file instrument.cpp.
| const wxString DEGREE_SIGN = wxString::Format("%c", 0x00B0) |
Definition at line 50 of file instrument.h.
|
extern |
Definition at line 102 of file dashboard_pi.cpp.
|
extern |
Definition at line 103 of file dashboard_pi.cpp.
|
extern |
Definition at line 104 of file dashboard_pi.cpp.
|
extern |
Definition at line 105 of file dashboard_pi.cpp.
|
extern |
Definition at line 101 of file dashboard_pi.cpp.
|
extern |
Definition at line 57 of file dashboard_pi.cpp.
|
extern |
Definition at line 58 of file dashboard_pi.cpp.
|
extern |
Definition at line 59 of file dashboard_pi.cpp.
|
extern |
Definition at line 56 of file dashboard_pi.cpp.
|
extern |
Definition at line 67 of file dashboard_pi.cpp.
|
extern |
Definition at line 68 of file dashboard_pi.cpp.
|
extern |
Definition at line 69 of file dashboard_pi.cpp.
|
extern |
Definition at line 66 of file dashboard_pi.cpp.
|
extern |
Definition at line 99 of file dashboard_pi.cpp.
|
extern |
Definition at line 100 of file dashboard_pi.cpp.