OpenCPN Partial API docs
|
Public Member Functions | |
opencpn_plugin (void *pmgr) | |
virtual int | Init (void) |
virtual bool | DeInit (void) |
virtual int | GetAPIVersionMajor () |
virtual int | GetAPIVersionMinor () |
virtual int | GetPlugInVersionMajor () |
virtual int | GetPlugInVersionMinor () |
virtual wxBitmap * | GetPlugInBitmap () |
FIXME static wxBitmap* LoadSVG(const wxString filename, unsigned int width,
unsigned int height) { if (!gFrame) return new wxBitmap(width, height); // We are headless. More... | |
virtual wxString | GetCommonName () |
virtual wxString | GetShortDescription () |
virtual wxString | GetLongDescription () |
virtual void | SetDefaults (void) |
virtual int | GetToolbarToolCount (void) |
virtual int | GetToolboxPanelCount (void) |
virtual void | SetupToolboxPanel (int page_sel, wxNotebook *pnotebook) |
virtual void | OnCloseToolboxPanel (int page_sel, int ok_apply_cancel) |
virtual void | ShowPreferencesDialog (wxWindow *parent) |
virtual bool | RenderOverlay (wxMemoryDC *pmdc, PlugIn_ViewPort *vp) |
virtual void | SetCursorLatLon (double lat, double lon) |
virtual void | SetCurrentViewPort (PlugIn_ViewPort &vp) |
virtual void | SetPositionFix (PlugIn_Position_Fix &pfix) |
virtual void | SetNMEASentence (wxString &sentence) |
virtual void | SetAISSentence (wxString &sentence) |
virtual void | ProcessParentResize (int x, int y) |
virtual void | SetColorScheme (PI_ColorScheme cs) |
virtual void | OnToolbarToolCallback (int id) |
virtual void | OnContextMenuItemCallback (int id) |
virtual void | UpdateAuiStatus (void) |
virtual wxArrayString | GetDynamicChartClassNameArray (void) |
Definition at line 387 of file ocpn_plugin.h.
|
inline |
Definition at line 389 of file ocpn_plugin.h.
|
virtual |
Definition at line 84 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 88 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 90 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 92 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 98 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 145 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 104 of file ocpn_plugin.cpp.
|
virtual |
FIXME static wxBitmap* LoadSVG(const wxString filename, unsigned int width, unsigned int height) { if (!gFrame) return new wxBitmap(width, height); // We are headless.
#ifdef ANDROID return loadAndroidSVG(filename, width, height); #elif defined(ocpnUSE_SVG) wxSVGDocument svgDoc; if (svgDoc.Load(filename)) return new wxBitmap(svgDoc.Render(width, height, NULL, true, true)); else return new wxBitmap(width, height); #else return new wxBitmap(width, height); #endif }
wxBitmap* opencpn_plugin::GetPlugInBitmap() { auto bitmap = PluginLoader::getInstance()->GetPluginDefaultIcon(); return const_cast<wxBitmap*>(bitmap); }
Definition at line 78 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 94 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 96 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 100 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 115 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 117 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 86 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 121 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 127 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 125 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 139 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 129 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 113 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 141 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 135 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 133 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 137 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 111 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 109 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 119 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 123 of file ocpn_plugin.cpp.
|
virtual |
Definition at line 143 of file ocpn_plugin.cpp.