OpenCPN Partial API docs
|
PlugIn GUI API Functions. More...
#include "dychart.h"
#include <wx/wx.h>
#include <wx/arrstr.h>
#include <wx/dc.h>
#include <wx/dcmemory.h>
#include <wx/event.h>
#include <wx/glcanvas.h>
#include <wx/notebook.h>
#include <wx/string.h>
#include <wx/window.h>
#include "model/ais_decoder.h"
#include "model/comm_navmsg_bus.h"
#include "model/idents.h"
#include "model/multiplexer.h"
#include "model/own_ship.h"
#include "model/plugin_comm.h"
#include "model/route.h"
#include "model/track.h"
#include "ais.h"
#include "chartdb.h"
#include "chcanv.h"
#include "ConfigMgr.h"
#include "FontMgr.h"
#include "glChartCanvas.h"
#include "gui_lib.h"
#include "navutil.h"
#include "ocpn_app.h"
#include "OCPN_AUIManager.h"
#include "ocpn_frame.h"
#include "OCPNPlatform.h"
#include "ocpn_plugin.h"
#include "options.h"
#include "piano.h"
#include "pluginmanager.h"
#include "routemanagerdialog.h"
#include "routeman_gui.h"
#include "s52plib.h"
#include "SoundFactory.h"
#include "svg_utils.h"
#include "SystemCmdSound.h"
#include "toolbar.h"
#include "waypointman_gui.h"
#include <wx/listimpl.cpp>
Go to the source code of this file.
Functions | |
WX_DEFINE_ARRAY_PTR (ChartCanvas *, arrayofCanvasPtr) | |
void | NotifySetupOptionsPlugin (const PlugInData *pic) |
int | InsertPlugInTool (wxString label, wxBitmap *bitmap, wxBitmap *bmpRollover, wxItemKind kind, wxString shortHelp, wxString longHelp, wxObject *clientData, int position, int tool_sel, opencpn_plugin *pplugin) |
void | RemovePlugInTool (int tool_id) |
void | SetToolbarToolViz (int item, bool viz) |
void | SetToolbarItemState (int item, bool toggle) |
void | SetToolbarToolBitmaps (int item, wxBitmap *bitmap, wxBitmap *bmpRollover) |
int | InsertPlugInToolSVG (wxString label, wxString SVGfile, wxString SVGfileRollover, wxString SVGfileToggled, wxItemKind kind, wxString shortHelp, wxString longHelp, wxObject *clientData, int position, int tool_sel, opencpn_plugin *pplugin) |
void | SetToolbarToolBitmapsSVG (int item, wxString SVGfile, wxString SVGfileRollover, wxString SVGfileToggled) |
int | AddCanvasMenuItem (wxMenuItem *pitem, opencpn_plugin *pplugin, const char *name) |
void | SetCanvasMenuItemViz (int item, bool viz, const char *name) |
void | SetCanvasMenuItemGrey (int item, bool grey, const char *name) |
void | RemoveCanvasMenuItem (int item, const char *name) |
int | AddCanvasContextMenuItem (wxMenuItem *pitem, opencpn_plugin *pplugin) |
void | SetCanvasContextMenuItemViz (int item, bool viz) |
void | SetCanvasContextMenuItemGrey (int item, bool grey) |
void | RemoveCanvasContextMenuItem (int item) |
wxFileConfig * | GetOCPNConfigObject (void) |
wxWindow * | GetOCPNCanvasWindow () |
void | RequestRefresh (wxWindow *win) |
void | GetCanvasPixLL (PlugIn_ViewPort *vp, wxPoint *pp, double lat, double lon) |
void | GetDoubleCanvasPixLL (PlugIn_ViewPort *vp, wxPoint2DDouble *pp, double lat, double lon) |
void | GetCanvasLLPix (PlugIn_ViewPort *vp, wxPoint p, double *plat, double *plon) |
bool | GetGlobalColor (wxString colorName, wxColour *pcolour) |
wxFont * | OCPNGetFont (wxString TextElement, int default_size) |
Gets a font for UI elements. | |
wxFont * | GetOCPNScaledFont_PlugIn (wxString TextElement, int default_size) |
double | GetOCPNGUIToolScaleFactor_PlugIn (int GUIScaleFactor) |
double | GetOCPNGUIToolScaleFactor_PlugIn () |
float | GetOCPNChartScaleFactor_Plugin () |
wxFont | GetOCPNGUIScaledFont_PlugIn (wxString item) |
Gets a uniquely scaled font copy for responsive UI elements. | |
bool | AddPersistentFontKey (wxString TextElement) |
Registers a new font configuration element. | |
wxString | GetActiveStyleName () |
wxBitmap | GetBitmapFromSVGFile (wxString filename, unsigned int width, unsigned int height) |
bool | IsTouchInterface_PlugIn (void) |
wxColour | GetFontColour_PlugIn (wxString TextElement) |
Gets color configured for a UI text element. | |
wxString * | GetpSharedDataLocation (void) |
ArrayOfPlugIn_AIS_Targets * | GetAISTargetArray (void) |
wxAuiManager * | GetFrameAuiManager (void) |
void | SendPluginMessage (wxString message_id, wxString message_body) |
void | DimeWindow (wxWindow *win) |
void | JumpToPosition (double lat, double lon, double scale) |
bool | AddLocaleCatalog (wxString catalog) |
wxString | GetLocaleCanonicalName () |
void | PushNMEABuffer (wxString buf) |
wxXmlDocument | GetChartDatabaseEntryXML (int dbIndex, bool b_getGeom) |
bool | UpdateChartDBInplace (wxArrayString dir_array, bool b_force_update, bool b_ProgressDialog) |
wxArrayString | GetChartDBDirArrayString () |
int | AddChartToDBInPlace (wxString &full_path, bool b_RefreshCanvas) |
int | RemoveChartFromDBInPlace (wxString &full_path) |
wxScrolledWindow * | AddOptionsPage (OptionsParentPI parent, wxString title) |
bool | DeleteOptionsPage (wxScrolledWindow *page) |
bool | DecodeSingleVDOMessage (const wxString &str, PlugIn_Position_Fix_Ex *pos, wxString *accumulator) |
int | GetChartbarHeight (void) |
bool | GetRoutepointGPX (RoutePoint *pRoutePoint, char *buffer, unsigned int buffer_length) |
bool | GetActiveRoutepointGPX (char *buffer, unsigned int buffer_length) |
void | PositionBearingDistanceMercator_Plugin (double lat, double lon, double brg, double dist, double *dlat, double *dlon) |
void | DistanceBearingMercator_Plugin (double lat0, double lon0, double lat1, double lon1, double *brg, double *dist) |
double | DistGreatCircle_Plugin (double slat, double slon, double dlat, double dlon) |
void | toTM_Plugin (float lat, float lon, float lat0, float lon0, double *x, double *y) |
void | fromTM_Plugin (double x, double y, double lat0, double lon0, double *lat, double *lon) |
void | toSM_Plugin (double lat, double lon, double lat0, double lon0, double *x, double *y) |
void | fromSM_Plugin (double x, double y, double lat0, double lon0, double *lat, double *lon) |
void | toSM_ECC_Plugin (double lat, double lon, double lat0, double lon0, double *x, double *y) |
void | fromSM_ECC_Plugin (double x, double y, double lat0, double lon0, double *lat, double *lon) |
double | toUsrDistance_Plugin (double nm_distance, int unit) |
double | fromUsrDistance_Plugin (double usr_distance, int unit) |
double | toUsrSpeed_Plugin (double kts_speed, int unit) |
double | toUsrWindSpeed_Plugin (double kts_speed, int unit) |
double | fromUsrSpeed_Plugin (double usr_speed, int unit) |
double | fromUsrWindSpeed_Plugin (double usr_wspeed, int unit) |
double | toUsrTemp_Plugin (double cel_temp, int unit) |
double | fromUsrTemp_Plugin (double usr_temp, int unit) |
wxString | getUsrDistanceUnit_Plugin (int unit) |
wxString | getUsrSpeedUnit_Plugin (int unit) |
wxString | getUsrWindSpeedUnit_Plugin (int unit) |
wxString | getUsrTempUnit_Plugin (int unit) |
bool | PlugIn_GSHHS_CrossesLand (double lat1, double lon1, double lat2, double lon2) |
void | PlugInPlaySound (wxString &sound_file) |
Start playing a sound file asynchronously. | |
wxString | GetNewGUID (void) |
bool | AddCustomWaypointIcon (wxBitmap *pimage, wxString key, wxString description) |
bool | AddSingleWaypoint (PlugIn_Waypoint *pwaypoint, bool b_permanent) |
bool | DeleteSingleWaypoint (wxString &GUID) |
bool | UpdateSingleWaypoint (PlugIn_Waypoint *pwaypoint) |
bool | GetSingleWaypoint (wxString GUID, PlugIn_Waypoint *pwaypoint) |
wxArrayString | GetWaypointGUIDArray (void) |
wxArrayString | GetRouteGUIDArray (void) |
wxArrayString | GetTrackGUIDArray (void) |
wxArrayString | GetWaypointGUIDArray (OBJECT_LAYER_REQ req) |
wxArrayString | GetRouteGUIDArray (OBJECT_LAYER_REQ req) |
wxArrayString | GetTrackGUIDArray (OBJECT_LAYER_REQ req) |
wxArrayString | GetIconNameArray (void) |
bool | AddPlugInRoute (PlugIn_Route *proute, bool b_permanent) |
bool | DeletePlugInRoute (wxString &GUID) |
bool | UpdatePlugInRoute (PlugIn_Route *proute) |
bool | AddPlugInTrack (PlugIn_Track *ptrack, bool b_permanent) |
bool | DeletePlugInTrack (wxString &GUID) |
bool | UpdatePlugInTrack (PlugIn_Track *ptrack) |
bool | PlugInHasNormalizedViewPort (PlugIn_ViewPort *vp) |
void | PlugInMultMatrixViewport (PlugIn_ViewPort *vp, float lat, float lon) |
void | PlugInNormalizeViewport (PlugIn_ViewPort *vp, float lat, float lon) |
PlugIn_AIS_Target * | Create_PI_AIS_Target (AisTargetData *ptarget) |
double | fromDMM_Plugin (wxString sdms) |
void | SetCanvasRotation (double rotation) |
double | GetCanvasTilt () |
void | SetCanvasTilt (double tilt) |
void | SetCanvasProjection (int projection) |
bool | PlugInPlaySoundEx (wxString &sound_file, int deviceIndex) |
Start playing a sound file asynchronously. | |
bool | CheckEdgePan_PlugIn (int x, int y, bool dragging, int margin, int delta) |
wxBitmap | GetIcon_PlugIn (const wxString &name) |
void | SetCursor_PlugIn (wxCursor *pCursor) |
void | AddChartDirectory (wxString &path) |
void | ForceChartDBUpdate () |
void | ForceChartDBRebuild () |
wxDialog * | GetActiveOptionsDialog () |
int | PlatformDirSelectorDialog (wxWindow *parent, wxString *file_spec, wxString Title, wxString initDir) |
int | PlatformFileSelectorDialog (wxWindow *parent, wxString *file_spec, wxString Title, wxString initDir, wxString suggestedName, wxString wildcard) |
ViewPort | CreateCompatibleViewportEx (const PlugIn_ViewPort &pivp) |
void | PlugInAISDrawGL (wxGLCanvas *glcanvas, const PlugIn_ViewPort &vp) |
bool | PlugInSetFontColor (const wxString TextElement, const wxColour color) |
Sets text color for a UI element. | |
double | PlugInGetDisplaySizeMM () |
wxFont * | FindOrCreateFont_PlugIn (int point_size, wxFontFamily family, wxFontStyle style, wxFontWeight weight, bool underline, const wxString &facename, wxFontEncoding encoding) |
Creates or finds a font in the font cache. | |
int | PluginGetMinAvailableGshhgQuality () |
int | PluginGetMaxAvailableGshhgQuality () |
void | PlugInHandleAutopilotRoute (bool enable) |
bool | LaunchDefaultBrowser_Plugin (wxString url) |
wxString | GetSelectedWaypointGUID_Plugin () |
wxString | GetSelectedRouteGUID_Plugin () |
wxString | GetSelectedTrackGUID_Plugin () |
std::unique_ptr< PlugIn_Waypoint > | GetWaypoint_Plugin (const wxString &GUID) |
std::unique_ptr< PlugIn_Route > | GetRoute_Plugin (const wxString &GUID) |
std::unique_ptr< PlugIn_Track > | GetTrack_Plugin (const wxString &GUID) |
wxWindow * | PluginGetFocusCanvas () |
wxWindow * | PluginGetOverlayRenderCanvas () |
void | CanvasJumpToPosition (wxWindow *canvas, double lat, double lon, double scale) |
bool | ShuttingDown (void) |
wxWindow * | GetCanvasUnderMouse (void) |
int | GetCanvasIndexUnderMouse (void) |
wxWindow * | GetCanvasByIndex (int canvasIndex) |
bool | CheckMUIEdgePan_PlugIn (int x, int y, bool dragging, int margin, int delta, int canvasIndex) |
void | SetMUICursor_PlugIn (wxCursor *pCursor, int canvasIndex) |
int | GetCanvasCount () |
int | GetLatLonFormat () |
wxRect | GetMasterToolbarRect () |
void | ZeroXTE () |
RoutePoint * | CreateNewPoint (const PlugIn_Waypoint_Ex *src, bool b_permanent) |
bool | GetSingleWaypointEx (wxString GUID, PlugIn_Waypoint_Ex *pwaypoint) |
bool | AddSingleWaypointEx (PlugIn_Waypoint_Ex *pwaypointex, bool b_permanent) |
bool | UpdateSingleWaypointEx (PlugIn_Waypoint_Ex *pwaypoint) |
bool | AddPlugInRouteEx (PlugIn_Route_Ex *proute, bool b_permanent) |
bool | UpdatePlugInRouteEx (PlugIn_Route_Ex *proute) |
std::unique_ptr< PlugIn_Waypoint_Ex > | GetWaypointEx_Plugin (const wxString &GUID) |
std::unique_ptr< PlugIn_Route_Ex > | GetRouteEx_Plugin (const wxString &GUID) |
wxString | GetActiveWaypointGUID (void) |
wxString | GetActiveRouteGUID (void) |
int | GetGlobalWatchdogTimoutSeconds () |
Comm Global Watchdog Query | |
std::vector< std::string > | GetPriorityMaps () |
Comm Priority query support methods | |
std::vector< std::string > | GetActivePriorityIdentifiers () |
double | OCPN_GetDisplayContentScaleFactor () |
double | OCPN_GetWinDIPScaleFactor () |
void | ExitOCPN () |
bool | GetFullScreen () |
void | SetFullScreen (bool set_full_screen_on) |
void | EnableMUIBar (bool enable, int CanvasIndex) |
bool | GetEnableMUIBar (int CanvasIndex) |
void | EnableCompassGPSIcon (bool enable, int CanvasIndex) |
bool | GetEnableCompassGPSIcon (int CanvasIndex) |
void | EnableStatusBar (bool enable) |
bool | GetEnableStatusBar () |
void | EnableChartBar (bool enable, int CanvasIndex) |
bool | GetEnableChartBar (int CanvasIndex) |
void | EnableMenu (bool enable) |
bool | GetEnableMenu () |
void | SetGlobalColor (std::string table, std::string name, wxColor color) |
wxColor | GetGlobalColorD (std::string map_name, std::string name) |
void | EnableLatLonGrid (bool enable, int CanvasIndex) |
void | EnableChartOutlines (bool enable, int CanvasIndex) |
void | EnableDepthUnitDisplay (bool enable, int CanvasIndex) |
void | EnableAisTargetDisplay (bool enable, int CanvasIndex) |
void | EnableTideStationsDisplay (bool enable, int CanvasIndex) |
void | EnableCurrentStationsDisplay (bool enable, int CanvasIndex) |
void | EnableENCTextDisplay (bool enable, int CanvasIndex) |
void | EnableENCDepthSoundingsDisplay (bool enable, int CanvasIndex) |
void | EnableBuoyLightLabelsDisplay (bool enable, int CanvasIndex) |
void | EnableLightsDisplay (bool enable, int CanvasIndex) |
void | EnableLightDescriptionsDisplay (bool enable, int CanvasIndex) |
void | SetENCDisplayCategory (PI_DisCat cat, int CanvasIndex) |
PI_DisCat | GetENCDisplayCategory (int CanvasIndex) |
void | SetNavigationMode (PI_NavMode mode, int CanvasIndex) |
PI_NavMode | GetNavigationMode (int CanvasIndex) |
bool | GetEnableLatLonGrid (int CanvasIndex) |
bool | GetEnableChartOutlines (int CanvasIndex) |
bool | GetEnableDepthUnitDisplay (int CanvasIndex) |
bool | GetEnableAisTargetDisplay (int CanvasIndex) |
bool | GetEnableTideStationsDisplay (int CanvasIndex) |
bool | GetEnableCurrentStationsDisplay (int CanvasIndex) |
bool | GetEnableENCTextDisplay (int CanvasIndex) |
bool | GetEnableENCDepthSoundingsDisplay (int CanvasIndex) |
bool | GetEnableBuoyLightLabelsDisplay (int CanvasIndex) |
bool | GetEnableLightsDisplay (int CanvasIndex) |
bool | GetShowENCLightDesc (int CanvasIndex) |
void | EnableTouchMode (bool enable) |
bool | GetTouchMode () |
void | EnableLookaheadMode (bool enable, int CanvasIndex) |
bool | GetEnableLookaheadMode (int CanvasIndex) |
void | SetTrackingMode (bool enable) |
bool | GetTrackingMode () |
void | SetAppColorScheme (PI_ColorScheme cs) |
PI_ColorScheme | GetAppColorScheme () |
void | RequestWindowRefresh (wxWindow *win, bool eraseBackground) |
void | EnableSplitScreenLayout (bool enable) |
void | PluginZoomCanvas (int CanvasIndex, double factor) |
bool | GetEnableMainToolbar () |
void | SetEnableMainToolbar (bool enable) |
void | ShowGlobalSettingsDialog () |
void | PluginCenterOwnship (int CanvasIndex) |
void | PluginSetFollowMode (int CanvasIndex, bool enable_follow) |
bool | PluginGetFollowMode (int CanvasIndex) |
void | EnableCanvasFocusBar (bool enable, int CanvasIndex) |
bool | GetEnableCanvasFocusBar (int CanvasIndex) |
bool | GetEnableTenHertzUpdate () |
void | EnableTenHertzUpdate (bool enable) |
void | ConfigFlushAndReload () |
PlugIn GUI API Functions.
Definition in file ocpn_plugin_gui.cpp.
int AddCanvasContextMenuItem | ( | wxMenuItem * | pitem, |
opencpn_plugin * | pplugin | ||
) |
Definition at line 208 of file ocpn_plugin_gui.cpp.
int AddCanvasMenuItem | ( | wxMenuItem * | pitem, |
opencpn_plugin * | pplugin, | ||
const char * | name | ||
) |
Definition at line 188 of file ocpn_plugin_gui.cpp.
void AddChartDirectory | ( | wxString & | path | ) |
Definition at line 1426 of file ocpn_plugin_gui.cpp.
int AddChartToDBInPlace | ( | wxString & | full_path, |
bool | b_RefreshCanvas | ||
) |
Definition at line 480 of file ocpn_plugin_gui.cpp.
bool AddCustomWaypointIcon | ( | wxBitmap * | pimage, |
wxString | key, | ||
wxString | description | ||
) |
Definition at line 805 of file ocpn_plugin_gui.cpp.
bool AddLocaleCatalog | ( | wxString | catalog | ) |
Definition at line 413 of file ocpn_plugin_gui.cpp.
wxScrolledWindow * AddOptionsPage | ( | OptionsParentPI | parent, |
wxString | title | ||
) |
Definition at line 546 of file ocpn_plugin_gui.cpp.
bool AddPersistentFontKey | ( | wxString | TextElement | ) |
Registers a new font configuration element.
Allows plugins to define custom UI elements needing font configuration, beyond the standard elements defined in OCPNGetFont().
TextElement | New UI element identifier to register |
Definition at line 325 of file ocpn_plugin_gui.cpp.
bool AddPlugInRoute | ( | PlugIn_Route * | proute, |
bool | b_permanent | ||
) |
Definition at line 1125 of file ocpn_plugin_gui.cpp.
bool AddPlugInRouteEx | ( | PlugIn_Route_Ex * | proute, |
bool | b_permanent | ||
) |
Definition at line 2090 of file ocpn_plugin_gui.cpp.
bool AddPlugInTrack | ( | PlugIn_Track * | ptrack, |
bool | b_permanent | ||
) |
Definition at line 1211 of file ocpn_plugin_gui.cpp.
bool AddSingleWaypoint | ( | PlugIn_Waypoint * | pwaypoint, |
bool | b_permanent | ||
) |
Definition at line 833 of file ocpn_plugin_gui.cpp.
bool AddSingleWaypointEx | ( | PlugIn_Waypoint_Ex * | pwaypointex, |
bool | b_permanent | ||
) |
Definition at line 1985 of file ocpn_plugin_gui.cpp.
void CanvasJumpToPosition | ( | wxWindow * | canvas, |
double | lat, | ||
double | lon, | ||
double | scale | ||
) |
Definition at line 1635 of file ocpn_plugin_gui.cpp.
bool CheckEdgePan_PlugIn | ( | int | x, |
int | y, | ||
bool | dragging, | ||
int | margin, | ||
int | delta | ||
) |
Definition at line 1412 of file ocpn_plugin_gui.cpp.
bool CheckMUIEdgePan_PlugIn | ( | int | x, |
int | y, | ||
bool | dragging, | ||
int | margin, | ||
int | delta, | ||
int | canvasIndex | ||
) |
Definition at line 1677 of file ocpn_plugin_gui.cpp.
void ConfigFlushAndReload | ( | ) |
Definition at line 2733 of file ocpn_plugin_gui.cpp.
PlugIn_AIS_Target * Create_PI_AIS_Target | ( | AisTargetData * | ptarget | ) |
Definition at line 1333 of file ocpn_plugin_gui.cpp.
ViewPort CreateCompatibleViewportEx | ( | const PlugIn_ViewPort & | pivp | ) |
Definition at line 1463 of file ocpn_plugin_gui.cpp.
RoutePoint * CreateNewPoint | ( | const PlugIn_Waypoint_Ex * | src, |
bool | b_permanent | ||
) |
Definition at line 1943 of file ocpn_plugin_gui.cpp.
bool DecodeSingleVDOMessage | ( | const wxString & | str, |
PlugIn_Position_Fix_Ex * | pos, | ||
wxString * | accumulator | ||
) |
Definition at line 584 of file ocpn_plugin_gui.cpp.
bool DeleteOptionsPage | ( | wxScrolledWindow * | page | ) |
Definition at line 579 of file ocpn_plugin_gui.cpp.
bool DeletePlugInRoute | ( | wxString & | GUID | ) |
Definition at line 1182 of file ocpn_plugin_gui.cpp.
bool DeletePlugInTrack | ( | wxString & | GUID | ) |
Definition at line 1253 of file ocpn_plugin_gui.cpp.
bool DeleteSingleWaypoint | ( | wxString & | GUID | ) |
Definition at line 880 of file ocpn_plugin_gui.cpp.
void DimeWindow | ( | wxWindow * | win | ) |
Definition at line 406 of file ocpn_plugin_gui.cpp.
void DistanceBearingMercator_Plugin | ( | double | lat0, |
double | lon0, | ||
double | lat1, | ||
double | lon1, | ||
double * | brg, | ||
double * | dist | ||
) |
Definition at line 660 of file ocpn_plugin_gui.cpp.
double DistGreatCircle_Plugin | ( | double | slat, |
double | slon, | ||
double | dlat, | ||
double | dlon | ||
) |
Definition at line 665 of file ocpn_plugin_gui.cpp.
void EnableAisTargetDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2410 of file ocpn_plugin_gui.cpp.
void EnableBuoyLightLabelsDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2445 of file ocpn_plugin_gui.cpp.
void EnableCanvasFocusBar | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2715 of file ocpn_plugin_gui.cpp.
void EnableChartBar | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2340 of file ocpn_plugin_gui.cpp.
void EnableChartOutlines | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2396 of file ocpn_plugin_gui.cpp.
void EnableCompassGPSIcon | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2314 of file ocpn_plugin_gui.cpp.
void EnableCurrentStationsDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2424 of file ocpn_plugin_gui.cpp.
void EnableDepthUnitDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2403 of file ocpn_plugin_gui.cpp.
void EnableENCDepthSoundingsDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2438 of file ocpn_plugin_gui.cpp.
void EnableENCTextDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2431 of file ocpn_plugin_gui.cpp.
void EnableLatLonGrid | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2389 of file ocpn_plugin_gui.cpp.
void EnableLightDescriptionsDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2459 of file ocpn_plugin_gui.cpp.
void EnableLightsDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2452 of file ocpn_plugin_gui.cpp.
void EnableLookaheadMode | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2610 of file ocpn_plugin_gui.cpp.
void EnableMenu | ( | bool | enable | ) |
Definition at line 2358 of file ocpn_plugin_gui.cpp.
void EnableMUIBar | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2293 of file ocpn_plugin_gui.cpp.
void EnableSplitScreenLayout | ( | bool | enable | ) |
Definition at line 2645 of file ocpn_plugin_gui.cpp.
void EnableStatusBar | ( | bool | enable | ) |
Definition at line 2333 of file ocpn_plugin_gui.cpp.
void EnableTenHertzUpdate | ( | bool | enable | ) |
Definition at line 2731 of file ocpn_plugin_gui.cpp.
void EnableTideStationsDisplay | ( | bool | enable, |
int | CanvasIndex | ||
) |
Definition at line 2417 of file ocpn_plugin_gui.cpp.
void EnableTouchMode | ( | bool | enable | ) |
Definition at line 2606 of file ocpn_plugin_gui.cpp.
void ExitOCPN | ( | ) |
Definition at line 2280 of file ocpn_plugin_gui.cpp.
wxFont * FindOrCreateFont_PlugIn | ( | int | point_size, |
wxFontFamily | family, | ||
wxFontStyle | style, | ||
wxFontWeight | weight, | ||
bool | underline = false , |
||
const wxString & | facename = wxEmptyString , |
||
wxFontEncoding | encoding = wxFONTENCODING_DEFAULT |
||
) |
Creates or finds a font in the font cache.
point_size | Font size in points |
family | Font family (wxFONTFAMILY_SWISS etc) |
style | Style flags (wxFONTSTYLE_NORMAL etc) |
weight | Weight flags (wxFONTWEIGHT_NORMAL etc) |
underline | True for underlined font |
facename | Font face name, empty for default |
encoding | Font encoding, wxFONTENCODING_DEFAULT for default |
Definition at line 1509 of file ocpn_plugin_gui.cpp.
void ForceChartDBRebuild | ( | ) |
Definition at line 1439 of file ocpn_plugin_gui.cpp.
void ForceChartDBUpdate | ( | ) |
Definition at line 1432 of file ocpn_plugin_gui.cpp.
double fromDMM_Plugin | ( | wxString | sdms | ) |
Definition at line 1375 of file ocpn_plugin_gui.cpp.
void fromSM_ECC_Plugin | ( | double | x, |
double | y, | ||
double | lat0, | ||
double | lon0, | ||
double * | lat, | ||
double * | lon | ||
) |
Definition at line 695 of file ocpn_plugin_gui.cpp.
void fromSM_Plugin | ( | double | x, |
double | y, | ||
double | lat0, | ||
double | lon0, | ||
double * | lat, | ||
double * | lon | ||
) |
Definition at line 685 of file ocpn_plugin_gui.cpp.
void fromTM_Plugin | ( | double | x, |
double | y, | ||
double | lat0, | ||
double | lon0, | ||
double * | lat, | ||
double * | lon | ||
) |
Definition at line 675 of file ocpn_plugin_gui.cpp.
double fromUsrDistance_Plugin | ( | double | usr_distance, |
int | unit | ||
) |
Definition at line 704 of file ocpn_plugin_gui.cpp.
double fromUsrSpeed_Plugin | ( | double | usr_speed, |
int | unit | ||
) |
Definition at line 716 of file ocpn_plugin_gui.cpp.
double fromUsrTemp_Plugin | ( | double | usr_temp, |
int | unit | ||
) |
Definition at line 728 of file ocpn_plugin_gui.cpp.
double fromUsrWindSpeed_Plugin | ( | double | usr_wspeed, |
int | unit | ||
) |
Definition at line 720 of file ocpn_plugin_gui.cpp.
wxDialog * GetActiveOptionsDialog | ( | ) |
Definition at line 1445 of file ocpn_plugin_gui.cpp.
std::vector< std::string > GetActivePriorityIdentifiers | ( | ) |
Definition at line 2237 of file ocpn_plugin_gui.cpp.
wxString GetActiveRouteGUID | ( | void | ) |
Definition at line 2219 of file ocpn_plugin_gui.cpp.
bool GetActiveRoutepointGPX | ( | char * | buffer, |
unsigned int | buffer_length | ||
) |
Definition at line 646 of file ocpn_plugin_gui.cpp.
wxString GetActiveStyleName | ( | ) |
Definition at line 329 of file ocpn_plugin_gui.cpp.
wxString GetActiveWaypointGUID | ( | void | ) |
Definition at line 2210 of file ocpn_plugin_gui.cpp.
ArrayOfPlugIn_AIS_Targets * GetAISTargetArray | ( | void | ) |
Definition at line 368 of file ocpn_plugin_gui.cpp.
PI_ColorScheme GetAppColorScheme | ( | ) |
Definition at line 2637 of file ocpn_plugin_gui.cpp.
wxBitmap GetBitmapFromSVGFile | ( | wxString | filename, |
unsigned int | width, | ||
unsigned int | height | ||
) |
Definition at line 336 of file ocpn_plugin_gui.cpp.
wxWindow * GetCanvasByIndex | ( | int | canvasIndex | ) |
Definition at line 1666 of file ocpn_plugin_gui.cpp.
int GetCanvasCount | ( | ) |
Definition at line 1702 of file ocpn_plugin_gui.cpp.
int GetCanvasIndexUnderMouse | ( | void | ) |
Definition at line 1645 of file ocpn_plugin_gui.cpp.
void GetCanvasLLPix | ( | PlugIn_ViewPort * | vp, |
wxPoint | p, | ||
double * | plat, | ||
double * | plon | ||
) |
Definition at line 278 of file ocpn_plugin_gui.cpp.
void GetCanvasPixLL | ( | PlugIn_ViewPort * | vp, |
wxPoint * | pp, | ||
double | lat, | ||
double | lon | ||
) |
Definition at line 245 of file ocpn_plugin_gui.cpp.
double GetCanvasTilt | ( | ) |
Definition at line 1381 of file ocpn_plugin_gui.cpp.
wxWindow * GetCanvasUnderMouse | ( | void | ) |
Definition at line 1643 of file ocpn_plugin_gui.cpp.
int GetChartbarHeight | ( | void | ) |
Definition at line 610 of file ocpn_plugin_gui.cpp.
wxXmlDocument GetChartDatabaseEntryXML | ( | int | dbIndex, |
bool | b_getGeom | ||
) |
Definition at line 452 of file ocpn_plugin_gui.cpp.
wxArrayString GetChartDBDirArrayString | ( | ) |
Definition at line 476 of file ocpn_plugin_gui.cpp.
void GetDoubleCanvasPixLL | ( | PlugIn_ViewPort * | vp, |
wxPoint2DDouble * | pp, | ||
double | lat, | ||
double | lon | ||
) |
Definition at line 262 of file ocpn_plugin_gui.cpp.
bool GetEnableAisTargetDisplay | ( | int | CanvasIndex | ) |
Definition at line 2542 of file ocpn_plugin_gui.cpp.
bool GetEnableBuoyLightLabelsDisplay | ( | int | CanvasIndex | ) |
Definition at line 2582 of file ocpn_plugin_gui.cpp.
bool GetEnableCanvasFocusBar | ( | int | CanvasIndex | ) |
Definition at line 2721 of file ocpn_plugin_gui.cpp.
bool GetEnableChartBar | ( | int | CanvasIndex | ) |
Definition at line 2355 of file ocpn_plugin_gui.cpp.
bool GetEnableChartOutlines | ( | int | CanvasIndex | ) |
Definition at line 2526 of file ocpn_plugin_gui.cpp.
bool GetEnableCompassGPSIcon | ( | int | CanvasIndex | ) |
Definition at line 2321 of file ocpn_plugin_gui.cpp.
bool GetEnableCurrentStationsDisplay | ( | int | CanvasIndex | ) |
Definition at line 2558 of file ocpn_plugin_gui.cpp.
bool GetEnableDepthUnitDisplay | ( | int | CanvasIndex | ) |
Definition at line 2534 of file ocpn_plugin_gui.cpp.
bool GetEnableENCDepthSoundingsDisplay | ( | int | CanvasIndex | ) |
Definition at line 2574 of file ocpn_plugin_gui.cpp.
bool GetEnableENCTextDisplay | ( | int | CanvasIndex | ) |
Definition at line 2566 of file ocpn_plugin_gui.cpp.
bool GetEnableLatLonGrid | ( | int | CanvasIndex | ) |
Definition at line 2518 of file ocpn_plugin_gui.cpp.
bool GetEnableLightsDisplay | ( | int | CanvasIndex | ) |
Definition at line 2590 of file ocpn_plugin_gui.cpp.
bool GetEnableLookaheadMode | ( | int | CanvasIndex | ) |
Definition at line 2617 of file ocpn_plugin_gui.cpp.
bool GetEnableMainToolbar | ( | ) |
Definition at line 2674 of file ocpn_plugin_gui.cpp.
bool GetEnableMenu | ( | ) |
Definition at line 2374 of file ocpn_plugin_gui.cpp.
bool GetEnableMUIBar | ( | int | CanvasIndex | ) |
Definition at line 2312 of file ocpn_plugin_gui.cpp.
bool GetEnableStatusBar | ( | ) |
Definition at line 2338 of file ocpn_plugin_gui.cpp.
bool GetEnableTenHertzUpdate | ( | ) |
Definition at line 2729 of file ocpn_plugin_gui.cpp.
bool GetEnableTideStationsDisplay | ( | int | CanvasIndex | ) |
Definition at line 2550 of file ocpn_plugin_gui.cpp.
PI_DisCat GetENCDisplayCategory | ( | int | CanvasIndex | ) |
Definition at line 2490 of file ocpn_plugin_gui.cpp.
wxColour GetFontColour_PlugIn | ( | wxString | TextElement | ) |
Gets color configured for a UI text element.
TextElement | UI element ID like "AISTargetAlert" |
Definition at line 360 of file ocpn_plugin_gui.cpp.
wxAuiManager * GetFrameAuiManager | ( | void | ) |
Definition at line 390 of file ocpn_plugin_gui.cpp.
bool GetFullScreen | ( | ) |
Definition at line 2282 of file ocpn_plugin_gui.cpp.
bool GetGlobalColor | ( | wxString | colorName, |
wxColour * | pcolour | ||
) |
Definition at line 294 of file ocpn_plugin_gui.cpp.
wxColor GetGlobalColorD | ( | std::string | map_name, |
std::string | name | ||
) |
Definition at line 2380 of file ocpn_plugin_gui.cpp.
int GetGlobalWatchdogTimoutSeconds | ( | ) |
Comm Global Watchdog Query
Definition at line 2229 of file ocpn_plugin_gui.cpp.
wxBitmap GetIcon_PlugIn | ( | const wxString & | name | ) |
Definition at line 1417 of file ocpn_plugin_gui.cpp.
wxArrayString GetIconNameArray | ( | void | ) |
Definition at line 1115 of file ocpn_plugin_gui.cpp.
int GetLatLonFormat | ( | void | ) |
Definition at line 1708 of file ocpn_plugin_gui.cpp.
wxString GetLocaleCanonicalName | ( | ) |
Definition at line 426 of file ocpn_plugin_gui.cpp.
wxRect GetMasterToolbarRect | ( | ) |
Definition at line 1710 of file ocpn_plugin_gui.cpp.
PI_NavMode GetNavigationMode | ( | int | CanvasIndex | ) |
Definition at line 2510 of file ocpn_plugin_gui.cpp.
wxString GetNewGUID | ( | void | ) |
Definition at line 803 of file ocpn_plugin_gui.cpp.
wxWindow * GetOCPNCanvasWindow | ( | ) |
Definition at line 232 of file ocpn_plugin_gui.cpp.
float GetOCPNChartScaleFactor_Plugin | ( | ) |
Definition at line 317 of file ocpn_plugin_gui.cpp.
wxFileConfig * GetOCPNConfigObject | ( | void | ) |
Definition at line 224 of file ocpn_plugin_gui.cpp.
wxFont GetOCPNGUIScaledFont_PlugIn | ( | wxString | item | ) |
Gets a uniquely scaled font copy for responsive UI elements.
Like GetOCPNScaledFont_PlugIn() but scales font size more aggressively based on OpenCPN's responsive/touchscreen mode settings. Used by GUI tools and windows that need larger fonts for touch usability. Always ensures minimum 3mm physical size regardless of configured point size.
item | UI element name to get font for |
Definition at line 321 of file ocpn_plugin_gui.cpp.
double GetOCPNGUIToolScaleFactor_PlugIn | ( | ) |
Definition at line 313 of file ocpn_plugin_gui.cpp.
double GetOCPNGUIToolScaleFactor_PlugIn | ( | int | GUIScaleFactor | ) |
Definition at line 309 of file ocpn_plugin_gui.cpp.
wxFont * GetOCPNScaledFont_PlugIn | ( | wxString | TextElement, |
int | default_size | ||
) |
Definition at line 305 of file ocpn_plugin_gui.cpp.
std::vector< std::string > GetPriorityMaps | ( | ) |
Comm Priority query support methods
Definition at line 2232 of file ocpn_plugin_gui.cpp.
wxString * GetpSharedDataLocation | ( | void | ) |
Definition at line 364 of file ocpn_plugin_gui.cpp.
std::unique_ptr< PlugIn_Route > GetRoute_Plugin | ( | const wxString & | GUID | ) |
Definition at line 1568 of file ocpn_plugin_gui.cpp.
std::unique_ptr< PlugIn_Route_Ex > GetRouteEx_Plugin | ( | const wxString & | GUID | ) |
Definition at line 2177 of file ocpn_plugin_gui.cpp.
wxArrayString GetRouteGUIDArray | ( | OBJECT_LAYER_REQ | req | ) |
Definition at line 1071 of file ocpn_plugin_gui.cpp.
wxArrayString GetRouteGUIDArray | ( | void | ) |
Definition at line 1022 of file ocpn_plugin_gui.cpp.
bool GetRoutepointGPX | ( | RoutePoint * | pRoutePoint, |
char * | buffer, | ||
unsigned int | buffer_length | ||
) |
Definition at line 621 of file ocpn_plugin_gui.cpp.
wxString GetSelectedRouteGUID_Plugin | ( | ) |
Definition at line 1546 of file ocpn_plugin_gui.cpp.
wxString GetSelectedTrackGUID_Plugin | ( | ) |
Definition at line 1554 of file ocpn_plugin_gui.cpp.
wxString GetSelectedWaypointGUID_Plugin | ( | ) |
Definition at line 1538 of file ocpn_plugin_gui.cpp.
bool GetShowENCLightDesc | ( | int | CanvasIndex | ) |
Definition at line 2598 of file ocpn_plugin_gui.cpp.
bool GetSingleWaypoint | ( | wxString | GUID, |
PlugIn_Waypoint * | pwaypoint | ||
) |
Definition at line 996 of file ocpn_plugin_gui.cpp.
bool GetSingleWaypointEx | ( | wxString | GUID, |
PlugIn_Waypoint_Ex * | pwaypoint | ||
) |
Definition at line 1974 of file ocpn_plugin_gui.cpp.
bool GetTouchMode | ( | ) |
Definition at line 2608 of file ocpn_plugin_gui.cpp.
std::unique_ptr< PlugIn_Track > GetTrack_Plugin | ( | const wxString & | GUID | ) |
Definition at line 1598 of file ocpn_plugin_gui.cpp.
wxArrayString GetTrackGUIDArray | ( | OBJECT_LAYER_REQ | req | ) |
Definition at line 1096 of file ocpn_plugin_gui.cpp.
wxArrayString GetTrackGUIDArray | ( | void | ) |
Definition at line 1037 of file ocpn_plugin_gui.cpp.
bool GetTrackingMode | ( | ) |
Definition at line 2632 of file ocpn_plugin_gui.cpp.
wxString getUsrDistanceUnit_Plugin | ( | int | unit | ) |
Definition at line 732 of file ocpn_plugin_gui.cpp.
wxString getUsrSpeedUnit_Plugin | ( | int | unit | ) |
Definition at line 736 of file ocpn_plugin_gui.cpp.
wxString getUsrTempUnit_Plugin | ( | int | unit | ) |
Definition at line 742 of file ocpn_plugin_gui.cpp.
wxString getUsrWindSpeedUnit_Plugin | ( | int | unit | ) |
Definition at line 738 of file ocpn_plugin_gui.cpp.
std::unique_ptr< PlugIn_Waypoint > GetWaypoint_Plugin | ( | const wxString & | GUID | ) |
Definition at line 1562 of file ocpn_plugin_gui.cpp.
std::unique_ptr< PlugIn_Waypoint_Ex > GetWaypointEx_Plugin | ( | const wxString & | GUID | ) |
Definition at line 2171 of file ocpn_plugin_gui.cpp.
wxArrayString GetWaypointGUIDArray | ( | OBJECT_LAYER_REQ | req | ) |
Definition at line 1046 of file ocpn_plugin_gui.cpp.
wxArrayString GetWaypointGUIDArray | ( | void | ) |
Definition at line 1007 of file ocpn_plugin_gui.cpp.
int InsertPlugInTool | ( | wxString | label, |
wxBitmap * | bitmap, | ||
wxBitmap * | bmpRollover, | ||
wxItemKind | kind, | ||
wxString | shortHelp, | ||
wxString | longHelp, | ||
wxObject * | clientData, | ||
int | position, | ||
int | tool_sel, | ||
opencpn_plugin * | pplugin | ||
) |
Definition at line 138 of file ocpn_plugin_gui.cpp.
int InsertPlugInToolSVG | ( | wxString | label, |
wxString | SVGfile, | ||
wxString | SVGfileRollover, | ||
wxString | SVGfileToggled, | ||
wxItemKind | kind, | ||
wxString | shortHelp, | ||
wxString | longHelp, | ||
wxObject * | clientData, | ||
int | position, | ||
int | tool_sel, | ||
opencpn_plugin * | pplugin | ||
) |
Definition at line 166 of file ocpn_plugin_gui.cpp.
bool IsTouchInterface_PlugIn | ( | void | ) |
Definition at line 358 of file ocpn_plugin_gui.cpp.
void JumpToPosition | ( | double | lat, |
double | lon, | ||
double | scale | ||
) |
Definition at line 408 of file ocpn_plugin_gui.cpp.
bool LaunchDefaultBrowser_Plugin | ( | wxString | url | ) |
Definition at line 1529 of file ocpn_plugin_gui.cpp.
void NotifySetupOptionsPlugin | ( | const PlugInData * | pic | ) |
Definition at line 1589 of file pluginmanager.cpp.
double OCPN_GetDisplayContentScaleFactor | ( | ) |
Definition at line 2257 of file ocpn_plugin_gui.cpp.
double OCPN_GetWinDIPScaleFactor | ( | ) |
Definition at line 2265 of file ocpn_plugin_gui.cpp.
wxFont * OCPNGetFont | ( | wxString | TextElement, |
int | default_size | ||
) |
Gets a font for UI elements.
Plugins can use this to access OpenCPN's font management system which supports locale-dependent fonts and colors. Font configurations are cached and shared to minimize memory usage.
TextElement | UI element identifier. Supported values:
|
default_size | Font size in points, 0 to use system default size |
Definition at line 301 of file ocpn_plugin_gui.cpp.
int PlatformDirSelectorDialog | ( | wxWindow * | parent, |
wxString * | file_spec, | ||
wxString | Title, | ||
wxString | initDir | ||
) |
Definition at line 1447 of file ocpn_plugin_gui.cpp.
int PlatformFileSelectorDialog | ( | wxWindow * | parent, |
wxString * | file_spec, | ||
wxString | Title, | ||
wxString | initDir, | ||
wxString | suggestedName, | ||
wxString | wildcard | ||
) |
Definition at line 1452 of file ocpn_plugin_gui.cpp.
bool PlugIn_GSHHS_CrossesLand | ( | double | lat1, |
double | lon1, | ||
double | lat2, | ||
double | lon2 | ||
) |
Definition at line 744 of file ocpn_plugin_gui.cpp.
void PlugInAISDrawGL | ( | wxGLCanvas * | glcanvas, |
const PlugIn_ViewPort & | vp | ||
) |
Definition at line 1490 of file ocpn_plugin_gui.cpp.
void PluginCenterOwnship | ( | int | CanvasIndex | ) |
Definition at line 2684 of file ocpn_plugin_gui.cpp.
double PlugInGetDisplaySizeMM | ( | ) |
Definition at line 1507 of file ocpn_plugin_gui.cpp.
wxWindow * PluginGetFocusCanvas | ( | ) |
Definition at line 1627 of file ocpn_plugin_gui.cpp.
bool PluginGetFollowMode | ( | int | CanvasIndex | ) |
Definition at line 2707 of file ocpn_plugin_gui.cpp.
int PluginGetMaxAvailableGshhgQuality | ( | ) |
Definition at line 1520 of file ocpn_plugin_gui.cpp.
int PluginGetMinAvailableGshhgQuality | ( | ) |
Definition at line 1517 of file ocpn_plugin_gui.cpp.
wxWindow * PluginGetOverlayRenderCanvas | ( | ) |
Definition at line 1629 of file ocpn_plugin_gui.cpp.
void PlugInHandleAutopilotRoute | ( | bool | enable | ) |
Definition at line 1525 of file ocpn_plugin_gui.cpp.
bool PlugInHasNormalizedViewPort | ( | PlugIn_ViewPort * | vp | ) |
Definition at line 1286 of file ocpn_plugin_gui.cpp.
void PlugInMultMatrixViewport | ( | PlugIn_ViewPort * | vp, |
float | lat, | ||
float | lon | ||
) |
Definition at line 1297 of file ocpn_plugin_gui.cpp.
void PlugInNormalizeViewport | ( | PlugIn_ViewPort * | vp, |
float | lat, | ||
float | lon | ||
) |
Definition at line 1314 of file ocpn_plugin_gui.cpp.
void PlugInPlaySound | ( | wxString & | sound_file | ) |
Start playing a sound file asynchronously.
Supported formats depends on sound backend.
Definition at line 755 of file ocpn_plugin_gui.cpp.
bool PlugInPlaySoundEx | ( | wxString & | sound_file, |
int | deviceIndex = -1 |
||
) |
Start playing a sound file asynchronously.
Supported formats depends on sound backend. The deviceIx is only used on platforms using the portaudio sound backend where -1 indicates the default device.
Definition at line 1395 of file ocpn_plugin_gui.cpp.
void PluginSetFollowMode | ( | int | CanvasIndex, |
bool | enable_follow | ||
) |
Definition at line 2698 of file ocpn_plugin_gui.cpp.
bool PlugInSetFontColor | ( | const wxString | TextElement, |
const wxColour | color | ||
) |
Sets text color for a UI element.
TextElement | UI element ID. See OCPNGetFont() |
color | New text color to use |
Definition at line 1499 of file ocpn_plugin_gui.cpp.
void PluginZoomCanvas | ( | int | CanvasIndex, |
double | factor | ||
) |
Definition at line 2667 of file ocpn_plugin_gui.cpp.
void PositionBearingDistanceMercator_Plugin | ( | double | lat, |
double | lon, | ||
double | brg, | ||
double | dist, | ||
double * | dlat, | ||
double * | dlon | ||
) |
Definition at line 654 of file ocpn_plugin_gui.cpp.
void PushNMEABuffer | ( | wxString | buf | ) |
Definition at line 429 of file ocpn_plugin_gui.cpp.
void RemoveCanvasContextMenuItem | ( | int | item | ) |
Definition at line 221 of file ocpn_plugin_gui.cpp.
void RemoveCanvasMenuItem | ( | int | item, |
const char * | name | ||
) |
Definition at line 204 of file ocpn_plugin_gui.cpp.
int RemoveChartFromDBInPlace | ( | wxString & | full_path | ) |
Definition at line 515 of file ocpn_plugin_gui.cpp.
void RemovePlugInTool | ( | int | tool_id | ) |
Definition at line 150 of file ocpn_plugin_gui.cpp.
void RequestRefresh | ( | wxWindow * | win | ) |
Definition at line 241 of file ocpn_plugin_gui.cpp.
void RequestWindowRefresh | ( | wxWindow * | win, |
bool | eraseBackground | ||
) |
Definition at line 2641 of file ocpn_plugin_gui.cpp.
void SendPluginMessage | ( | wxString | message_id, |
wxString | message_body | ||
) |
Definition at line 392 of file ocpn_plugin_gui.cpp.
void SetAppColorScheme | ( | PI_ColorScheme | cs | ) |
Definition at line 2634 of file ocpn_plugin_gui.cpp.
void SetCanvasContextMenuItemGrey | ( | int | item, |
bool | grey | ||
) |
Definition at line 217 of file ocpn_plugin_gui.cpp.
void SetCanvasContextMenuItemViz | ( | int | item, |
bool | viz | ||
) |
Definition at line 213 of file ocpn_plugin_gui.cpp.
void SetCanvasMenuItemGrey | ( | int | item, |
bool | grey, | ||
const char * | name | ||
) |
Definition at line 200 of file ocpn_plugin_gui.cpp.
void SetCanvasMenuItemViz | ( | int | item, |
bool | viz, | ||
const char * | name | ||
) |
Definition at line 196 of file ocpn_plugin_gui.cpp.
void SetCanvasProjection | ( | int | projection | ) |
Definition at line 1387 of file ocpn_plugin_gui.cpp.
void SetCanvasRotation | ( | double | rotation | ) |
Definition at line 1377 of file ocpn_plugin_gui.cpp.
void SetCanvasTilt | ( | double | tilt | ) |
Definition at line 1383 of file ocpn_plugin_gui.cpp.
void SetCursor_PlugIn | ( | wxCursor * | pCursor | ) |
Definition at line 1422 of file ocpn_plugin_gui.cpp.
void SetEnableMainToolbar | ( | bool | enable | ) |
Definition at line 2675 of file ocpn_plugin_gui.cpp.
void SetENCDisplayCategory | ( | PI_DisCat | cat, |
int | CanvasIndex | ||
) |
Definition at line 2466 of file ocpn_plugin_gui.cpp.
void SetFullScreen | ( | bool | set_full_screen_on | ) |
Definition at line 2284 of file ocpn_plugin_gui.cpp.
void SetGlobalColor | ( | std::string | table, |
std::string | name, | ||
wxColor | color | ||
) |
Definition at line 2376 of file ocpn_plugin_gui.cpp.
void SetMUICursor_PlugIn | ( | wxCursor * | pCursor, |
int | canvasIndex | ||
) |
Definition at line 1692 of file ocpn_plugin_gui.cpp.
void SetNavigationMode | ( | PI_NavMode | mode, |
int | CanvasIndex | ||
) |
Definition at line 2498 of file ocpn_plugin_gui.cpp.
void SetToolbarItemState | ( | int | item, |
bool | toggle | ||
) |
Definition at line 158 of file ocpn_plugin_gui.cpp.
void SetToolbarToolBitmaps | ( | int | item, |
wxBitmap * | bitmap, | ||
wxBitmap * | bmpRollover | ||
) |
Definition at line 162 of file ocpn_plugin_gui.cpp.
void SetToolbarToolBitmapsSVG | ( | int | item, |
wxString | SVGfile, | ||
wxString | SVGfileRollover, | ||
wxString | SVGfileToggled | ||
) |
Definition at line 179 of file ocpn_plugin_gui.cpp.
void SetToolbarToolViz | ( | int | item, |
bool | viz | ||
) |
Definition at line 154 of file ocpn_plugin_gui.cpp.
void SetTrackingMode | ( | bool | enable | ) |
Definition at line 2626 of file ocpn_plugin_gui.cpp.
void ShowGlobalSettingsDialog | ( | ) |
Definition at line 2680 of file ocpn_plugin_gui.cpp.
bool ShuttingDown | ( | void | ) |
Definition at line 1641 of file ocpn_plugin_gui.cpp.
void toSM_ECC_Plugin | ( | double | lat, |
double | lon, | ||
double | lat0, | ||
double | lon0, | ||
double * | x, | ||
double * | y | ||
) |
Definition at line 690 of file ocpn_plugin_gui.cpp.
void toSM_Plugin | ( | double | lat, |
double | lon, | ||
double | lat0, | ||
double | lon0, | ||
double * | x, | ||
double * | y | ||
) |
Definition at line 680 of file ocpn_plugin_gui.cpp.
void toTM_Plugin | ( | float | lat, |
float | lon, | ||
float | lat0, | ||
float | lon0, | ||
double * | x, | ||
double * | y | ||
) |
Definition at line 670 of file ocpn_plugin_gui.cpp.
double toUsrDistance_Plugin | ( | double | nm_distance, |
int | unit | ||
) |
Definition at line 700 of file ocpn_plugin_gui.cpp.
double toUsrSpeed_Plugin | ( | double | kts_speed, |
int | unit | ||
) |
Definition at line 708 of file ocpn_plugin_gui.cpp.
double toUsrTemp_Plugin | ( | double | cel_temp, |
int | unit | ||
) |
Definition at line 724 of file ocpn_plugin_gui.cpp.
double toUsrWindSpeed_Plugin | ( | double | kts_speed, |
int | unit | ||
) |
Definition at line 712 of file ocpn_plugin_gui.cpp.
bool UpdateChartDBInplace | ( | wxArrayString | dir_array, |
bool | b_force_update, | ||
bool | b_ProgressDialog | ||
) |
Definition at line 458 of file ocpn_plugin_gui.cpp.
bool UpdatePlugInRoute | ( | PlugIn_Route * | proute | ) |
Definition at line 1194 of file ocpn_plugin_gui.cpp.
bool UpdatePlugInRouteEx | ( | PlugIn_Route_Ex * | proute | ) |
Definition at line 2146 of file ocpn_plugin_gui.cpp.
bool UpdatePlugInTrack | ( | PlugIn_Track * | ptrack | ) |
Definition at line 1269 of file ocpn_plugin_gui.cpp.
bool UpdateSingleWaypoint | ( | PlugIn_Waypoint * | pwaypoint | ) |
Definition at line 896 of file ocpn_plugin_gui.cpp.
bool UpdateSingleWaypointEx | ( | PlugIn_Waypoint_Ex * | pwaypoint | ) |
Definition at line 2017 of file ocpn_plugin_gui.cpp.
void ZeroXTE | ( | ) |
Definition at line 1721 of file ocpn_plugin_gui.cpp.
|
extern |
Definition at line 268 of file ocpn_app.cpp.
|
extern |
Definition at line 298 of file ocpn_app.cpp.
|
extern |
Definition at line 481 of file ocpn_app.cpp.
|
extern |
Definition at line 606 of file ocpn_app.cpp.
|
extern |
Definition at line 352 of file ocpn_app.cpp.
|
extern |
Definition at line 627 of file ocpn_app.cpp.
|
extern |
Definition at line 604 of file ocpn_app.cpp.
|
extern |
Definition at line 704 of file ocpn_app.cpp.
|
extern |
Definition at line 548 of file ocpn_app.cpp.
|
extern |
Definition at line 696 of file ocpn_app.cpp.
|
extern |
Definition at line 685 of file ocpn_app.cpp.
|
extern |
Definition at line 674 of file ocpn_app.cpp.
|
extern |
Definition at line 675 of file ocpn_app.cpp.
|
extern |
Definition at line 404 of file ocpn_app.cpp.
|
extern |
Definition at line 652 of file ocpn_app.cpp.
|
extern |
Definition at line 703 of file ocpn_app.cpp.
|
extern |
The width of the physical screen in millimeters.
Definition at line 399 of file ocpn_app.cpp.
|
extern |
Definition at line 699 of file ocpn_app.cpp.
|
extern |
Definition at line 403 of file ocpn_app.cpp.
|
extern |
Global locale setting for OpenCPN UI.
If not set in config (empty string), uses system default locale. Stores the language/locale name in format "en_US", "fr_FR", etc. A valid setting triggers loading the corresponding .mo translation files from the appropriate locale directory.
Definition at line 596 of file ocpn_app.cpp.
|
extern |
Definition at line 681 of file ocpn_app.cpp.
|
extern |
Definition at line 620 of file ocpn_app.cpp.
|
extern |
Definition at line 528 of file ocpn_app.cpp.
|
extern |
Definition at line 700 of file ocpn_app.cpp.
|
extern |
Definition at line 81 of file ais_decoder.cpp.
|
extern |
Definition at line 615 of file ocpn_app.cpp.
|
extern |
Definition at line 521 of file ocpn_app.cpp.
|
extern |
Definition at line 513 of file ocpn_app.cpp.
|
extern |
Definition at line 254 of file ocpn_app.cpp.
OcpnSound* g_PluginSound = SoundFactory() |
Definition at line 1391 of file ocpn_plugin_gui.cpp.
|
extern |
Definition at line 62 of file multiplexer.cpp.
|
extern |
Definition at line 258 of file options.cpp.
|
extern |
Definition at line 63 of file routeman.cpp.
|
extern |
Definition at line 340 of file ocpn_app.cpp.
|
extern |
Definition at line 686 of file ocpn_app.cpp.
|
extern |
Definition at line 263 of file ocpn_app.cpp.
|
extern |
Definition at line 377 of file ocpn_app.cpp.
unsigned int gs_plib_flags |
Definition at line 114 of file ocpn_plugin_gui.cpp.
|
extern |
Definition at line 267 of file ocpn_app.cpp.
|
extern |
Definition at line 585 of file ocpn_app.cpp.
|
extern |
Definition at line 69 of file routeman.cpp.
|
extern |
Definition at line 280 of file ocpn_app.cpp.
|
extern |
Definition at line 415 of file ocpn_app.cpp.
|
extern |
Definition at line 37 of file select.cpp.
|
extern |
Definition at line 864 of file pluginmanager.cpp.