OpenCPN Partial API docs
Loading...
Searching...
No Matches
dashboard_pi.h File Reference

Dashboard plugin. More...

#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/aui/aui.h>
#include <wx/clrpicker.h>
#include <wx/fileconf.h>
#include <wx/fontpicker.h>
#include <wx/jsonval.h>
#include <wx/listctrl.h>
#include <wx/notebook.h>
#include <wx/spinctrl.h>
#include <wx/statline.h>
#include "iir_filter.h"
#include "instrument.h"
#include "nmea0183/nmea0183.h"
#include "ocpn_plugin.h"
#include "rudder_angle.h"
#include "speedometer.h"
#include "wind.h"
#include "wind_history.h"
#include "wx/button.h"
#include "wx/fontdata.h"

Go to the source code of this file.

Classes

class  EditDialog
 
class  DashboardWindowContainer
 
class  DashboardInstrumentContainer
 
class  dashboard_pi
 
class  DashboardPreferencesDialog
 
class  AddInstrumentDlg
 
class  DashboardWindow
 
class  OCPNFontButton
 

Macros

#define PI   3.1415926535897931160E0 /* pi */
 
#define PLUGIN_VERSION_MAJOR   1
 
#define PLUGIN_VERSION_MINOR   2
 
#define MY_API_VERSION_MAJOR   1
 
#define MY_API_VERSION_MINOR   8
 
#define DASHBOARD_TOOL_POSITION   -1
 
#define gps_watchdog_timeout_ticks   GetGlobalWatchdogTimoutSeconds()
 
#define no_nav_watchdog_timeout_ticks   40
 
#define GEODESIC_RAD2DEG(r)   ((r) * (180.0 / M_PI))
 
#define MS2KNOTS(r)   ((r) * (1.9438444924406))
 
#define KELVIN2C(r)   ((r) - (273.15))
 
#define PA2HPA(r)   ((r) / (100))
 
#define METERS2NM(r)   ((r) / (1852))
 
#define wxFontPickerCtrl   OCPNFontButton
 

Enumerations

enum  { ID_DASHBOARD_WINDOW }
 
enum  {
  ID_DASH_PREFS = 999 , ID_DASH_VERTICAL , ID_DASH_HORIZONTAL , ID_DASH_RESIZE ,
  ID_DASH_UNDOCK
}
 

Functions

 WX_DEFINE_ARRAY (InstrumentProperties *, wxArrayOfInstrumentProperties)
 
 WX_DEFINE_ARRAY (DashboardWindowContainer *, wxArrayOfDashboard)
 
 WX_DEFINE_ARRAY (DashboardInstrumentContainer *, wxArrayOfInstrument)
 

Detailed Description

Dashboard plugin.

Definition in file dashboard_pi.h.

Macro Definition Documentation

◆ DASHBOARD_TOOL_POSITION

#define DASHBOARD_TOOL_POSITION   -1

Definition at line 69 of file dashboard_pi.h.

◆ GEODESIC_RAD2DEG

#define GEODESIC_RAD2DEG (   r)    ((r) * (180.0 / M_PI))

Definition at line 76 of file dashboard_pi.h.

◆ gps_watchdog_timeout_ticks

#define gps_watchdog_timeout_ticks   GetGlobalWatchdogTimoutSeconds()

Definition at line 72 of file dashboard_pi.h.

◆ KELVIN2C

#define KELVIN2C (   r)    ((r) - (273.15))

Definition at line 78 of file dashboard_pi.h.

◆ METERS2NM

#define METERS2NM (   r)    ((r) / (1852))

Definition at line 80 of file dashboard_pi.h.

◆ MS2KNOTS

#define MS2KNOTS (   r)    ((r) * (1.9438444924406))

Definition at line 77 of file dashboard_pi.h.

◆ MY_API_VERSION_MAJOR

#define MY_API_VERSION_MAJOR   1

Definition at line 65 of file dashboard_pi.h.

◆ MY_API_VERSION_MINOR

#define MY_API_VERSION_MINOR   8

Definition at line 66 of file dashboard_pi.h.

◆ no_nav_watchdog_timeout_ticks

#define no_nav_watchdog_timeout_ticks   40

Definition at line 75 of file dashboard_pi.h.

◆ PA2HPA

#define PA2HPA (   r)    ((r) / (100))

Definition at line 79 of file dashboard_pi.h.

◆ PI

#define PI   3.1415926535897931160E0 /* pi */

Definition at line 59 of file dashboard_pi.h.

◆ PLUGIN_VERSION_MAJOR

#define PLUGIN_VERSION_MAJOR   1

Definition at line 62 of file dashboard_pi.h.

◆ PLUGIN_VERSION_MINOR

#define PLUGIN_VERSION_MINOR   2

Definition at line 63 of file dashboard_pi.h.

◆ wxFontPickerCtrl

#define wxFontPickerCtrl   OCPNFontButton

Definition at line 82 of file dashboard_pi.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 434 of file dashboard_pi.h.

◆ anonymous enum

anonymous enum

Definition at line 436 of file dashboard_pi.h.