OpenCPN Partial API docs
|
Public Member Functions | |
bool | startBluetoothScan () |
wxArrayString | getBluetoothScanResults () |
bool | stopBluetoothScan () |
void | Initialize_2 (void) |
void | Initialize_3 (void) |
void | SetDefaultOptions (void) |
void | SetUpgradeOptions (wxString vString, wxString vStringConfig) |
void | applyExpertMode (bool mode) |
double | getFontPointsperPixel (void) |
wxSize | getDisplaySize () |
double | GetDisplaySizeMM () |
double | GetDisplayAreaCM2 () |
virtual double | GetDisplayDPmm () |
void | SetDisplaySizeMM (double size) |
unsigned int | GetSelectRadiusPix () |
double | GetToolbarScaleFactor (int GUIScaleFactor) |
double | GetCompassScaleFactor (int GUIScaleFactor) |
wxFileDialog * | AdjustFileDialogFont (wxWindow *container, wxFileDialog *dlg) |
wxDirDialog * | AdjustDirDialogFont (wxWindow *container, wxDirDialog *dlg) |
void | PositionAISAlert (wxWindow *alert_window) |
float | GetChartScaleFactorExp (float scale_linear) |
float | GetMarkScaleFactorExp (float scale_linear) |
int | GetStatusBarFieldCount () |
bool | GetFullscreen () |
bool | SetFullscreen (bool bFull) |
bool | AllowAlertDialog (const wxString &class_name) |
double | GetDisplayDensityFactor () |
long | GetDefaultToolbarOrientation () |
MyConfig * | GetConfigObject () |
wxString | GetSupplementalLicenseString () |
int | DoFileSelectorDialog (wxWindow *parent, wxString *file_spec, wxString Title, wxString initDir, wxString suggestedName, wxString wildcard) |
int | DoDirSelectorDialog (wxWindow *parent, wxString *file_spec, wxString Title, wxString initDir, bool b_addFiles=true) |
void | setChartTypeMaskSel (int mask, wxString &indicator) |
bool | isPlatformCapable (int flag) |
void | LaunchLocalHelp () |
void | DoHelpDialog (void) |
int | platformApplyPrivateSettingsString (wxString settings, ArrayOfCDI *pDirArray) |
void | platformLaunchDefaultBrowser (wxString URL) |
void | SetLocaleSearchPrefixes (void) |
wxString | GetDefaultSystemLocale () |
bool | BuildGLCaps (void *pbuf) |
bool | IsGLCapable () |
Public Member Functions inherited from BasePlatform | |
wxString & | GetPrivateDataDir () |
wxString * | GetPluginDirPtr () |
wxString * | GetSharedDataDirPtr () |
wxString * | GetPrivateDataDirPtr () |
wxString & | GetPluginDir () |
The original in-tree plugin directory, sometimes not user-writable. More... | |
wxStandardPaths & | GetStdPaths () |
wxString | GetWinPluginBaseDir () |
Base directory for user writable windows plugins, reflects winPluginDir option, defaults to LOCALAPPDATA%/opencpn. More... | |
wxString & | GetSharedDataDir () |
wxString & | GetExePath () |
wxString & | GetHomeDir () |
wxString | GetWritableDocumentsDir () |
wxString | GetPluginDataPath () |
Return ';'-separated list of base directories for plugin data. More... | |
wxString & | GetConfigFileName () |
wxString & | GetLogFileName () |
bool | isFlatpacked () |
bool | isPlatformCapable (int flag) |
OCPN_OSDetail * | GetOSDetail () |
void | CloseLogFile (void) |
bool | InitializeLogFile (void) |
wxString & | GetLargeLogMessage (void) |
FILE * | GetLogFilePtr () |
wxString | NormalizePath (const wxString &full_path) |
virtual wxSize | getDisplaySize () |
virtual double | GetDisplaySizeMM () |
virtual double | GetDisplayDPmm () |
virtual unsigned int | GetSelectRadiusPix () |
double | GetDisplayDIPMult (wxWindow *win) |
void | ShowBusySpinner () |
void | HideBusySpinner () |
Static Public Member Functions | |
static bool | hasInternalGPS (wxString profile=_T("")) |
static bool | hasInternalBT (wxString profile=_T("")) |
static void | Initialize_1 (void) |
static void | Initialize_4 (void) |
static void | OnExit_1 (void) |
static void | OnExit_2 (void) |
static void | ShowBusySpinner (void) |
static void | HideBusySpinner (void) |
Public Attributes | |
double | m_pt_per_pixel |
Additional Inherited Members | |
Protected Member Functions inherited from BasePlatform | |
bool | DetectOSDetail (OCPN_OSDetail *detail) |
Protected Attributes inherited from BasePlatform | |
wxString | m_PrivateDataDir |
wxString | m_PluginsDir |
bool | m_isFlatpacked |
wxString | m_homeDir |
wxString | m_exePath |
wxString | m_SData_Dir |
wxString | m_config_file_name |
wxString | m_pluginDataPath |
wxString | mlog_file |
OCPN_OSDetail * | m_osDetail |
FILE * | flog |
wxLog * | m_Oldlogger |
wxString | large_log_message |
wxSize | m_displaySize |
wxSize | m_displaySizeMM |
int | m_displaySizeMMOverride |
int | m_monitorWidth |
int | m_monitorHeight |
bool | m_bdisableWindowsDisplayEnum |
Definition at line 67 of file OCPNPlatform.h.
OCPNPlatform::OCPNPlatform | ( | ) |
Definition at line 279 of file OCPNPlatform.cpp.
|
virtual |
Definition at line 289 of file OCPNPlatform.cpp.
wxDirDialog * OCPNPlatform::AdjustDirDialogFont | ( | wxWindow * | container, |
wxDirDialog * | dlg | ||
) |
Definition at line 1748 of file OCPNPlatform.cpp.
wxFileDialog * OCPNPlatform::AdjustFileDialogFont | ( | wxWindow * | container, |
wxFileDialog * | dlg | ||
) |
Definition at line 1785 of file OCPNPlatform.cpp.
bool OCPNPlatform::AllowAlertDialog | ( | const wxString & | class_name | ) |
Definition at line 2046 of file OCPNPlatform.cpp.
void OCPNPlatform::applyExpertMode | ( | bool | mode | ) |
Definition at line 1366 of file OCPNPlatform.cpp.
bool OCPNPlatform::BuildGLCaps | ( | void * | pbuf | ) |
Definition at line 708 of file OCPNPlatform.cpp.
int OCPNPlatform::DoDirSelectorDialog | ( | wxWindow * | parent, |
wxString * | file_spec, | ||
wxString | Title, | ||
wxString | initDir, | ||
bool | b_addFiles = true |
||
) |
Definition at line 1441 of file OCPNPlatform.cpp.
int OCPNPlatform::DoFileSelectorDialog | ( | wxWindow * | parent, |
wxString * | file_spec, | ||
wxString | Title, | ||
wxString | initDir, | ||
wxString | suggestedName, | ||
wxString | wildcard | ||
) |
Definition at line 1389 of file OCPNPlatform.cpp.
void OCPNPlatform::DoHelpDialog | ( | void | ) |
Definition at line 2120 of file OCPNPlatform.cpp.
wxArrayString OCPNPlatform::getBluetoothScanResults | ( | ) |
Definition at line 2028 of file OCPNPlatform.cpp.
float OCPNPlatform::GetChartScaleFactorExp | ( | float | scale_linear | ) |
Definition at line 1960 of file OCPNPlatform.cpp.
double OCPNPlatform::GetCompassScaleFactor | ( | int | GUIScaleFactor | ) |
Definition at line 1897 of file OCPNPlatform.cpp.
MyConfig * OCPNPlatform::GetConfigObject | ( | ) |
Definition at line 1491 of file OCPNPlatform.cpp.
wxString OCPNPlatform::GetDefaultSystemLocale | ( | ) |
Definition at line 866 of file OCPNPlatform.cpp.
long OCPNPlatform::GetDefaultToolbarOrientation | ( | ) |
Definition at line 1549 of file OCPNPlatform.cpp.
double OCPNPlatform::GetDisplayAreaCM2 | ( | ) |
Definition at line 1679 of file OCPNPlatform.cpp.
double OCPNPlatform::GetDisplayDensityFactor | ( | ) |
Definition at line 1541 of file OCPNPlatform.cpp.
|
virtual |
Reimplemented from BasePlatform.
Definition at line 1697 of file OCPNPlatform.cpp.
|
virtual |
Reimplemented from BasePlatform.
Definition at line 1617 of file OCPNPlatform.cpp.
|
virtual |
Reimplemented from BasePlatform.
Definition at line 1627 of file OCPNPlatform.cpp.
double OCPNPlatform::getFontPointsperPixel | ( | void | ) |
Definition at line 1586 of file OCPNPlatform.cpp.
bool OCPNPlatform::GetFullscreen | ( | ) |
Definition at line 1711 of file OCPNPlatform.cpp.
float OCPNPlatform::GetMarkScaleFactorExp | ( | float | scale_linear | ) |
Definition at line 1978 of file OCPNPlatform.cpp.
|
virtual |
Reimplemented from BasePlatform.
Definition at line 1706 of file OCPNPlatform.cpp.
int OCPNPlatform::GetStatusBarFieldCount | ( | ) |
Definition at line 1557 of file OCPNPlatform.cpp.
wxString OCPNPlatform::GetSupplementalLicenseString | ( | ) |
Definition at line 1373 of file OCPNPlatform.cpp.
double OCPNPlatform::GetToolbarScaleFactor | ( | int | GUIScaleFactor | ) |
Definition at line 1824 of file OCPNPlatform.cpp.
|
static |
Definition at line 1999 of file OCPNPlatform.cpp.
|
static |
Definition at line 1503 of file OCPNPlatform.cpp.
|
static |
Definition at line 1530 of file OCPNPlatform.cpp.
|
static |
Definition at line 360 of file OCPNPlatform.cpp.
void OCPNPlatform::Initialize_2 | ( | void | ) |
Definition at line 585 of file OCPNPlatform.cpp.
void OCPNPlatform::Initialize_3 | ( | void | ) |
Definition at line 629 of file OCPNPlatform.cpp.
|
static |
Definition at line 679 of file OCPNPlatform.cpp.
bool OCPNPlatform::IsGLCapable | ( | ) |
Definition at line 781 of file OCPNPlatform.cpp.
bool OCPNPlatform::isPlatformCapable | ( | int | flag | ) |
Definition at line 2098 of file OCPNPlatform.cpp.
void OCPNPlatform::LaunchLocalHelp | ( | void | ) |
Definition at line 2139 of file OCPNPlatform.cpp.
|
static |
Definition at line 696 of file OCPNPlatform.cpp.
|
static |
Definition at line 698 of file OCPNPlatform.cpp.
int OCPNPlatform::platformApplyPrivateSettingsString | ( | wxString | settings, |
ArrayOfCDI * | pDirArray | ||
) |
Definition at line 1356 of file OCPNPlatform.cpp.
void OCPNPlatform::platformLaunchDefaultBrowser | ( | wxString | URL | ) |
Definition at line 2168 of file OCPNPlatform.cpp.
void OCPNPlatform::PositionAISAlert | ( | wxWindow * | alert_window | ) |
Definition at line 1732 of file OCPNPlatform.cpp.
void OCPNPlatform::setChartTypeMaskSel | ( | int | mask, |
wxString & | indicator | ||
) |
Definition at line 2067 of file OCPNPlatform.cpp.
void OCPNPlatform::SetDefaultOptions | ( | void | ) |
Definition at line 1052 of file OCPNPlatform.cpp.
void OCPNPlatform::SetDisplaySizeMM | ( | double | size | ) |
Definition at line 1693 of file OCPNPlatform.cpp.
bool OCPNPlatform::SetFullscreen | ( | bool | bFull | ) |
Definition at line 1722 of file OCPNPlatform.cpp.
void OCPNPlatform::SetLocaleSearchPrefixes | ( | void | ) |
Definition at line 805 of file OCPNPlatform.cpp.
void OCPNPlatform::SetUpgradeOptions | ( | wxString | vString, |
wxString | vStringConfig | ||
) |
Definition at line 1261 of file OCPNPlatform.cpp.
|
static |
Definition at line 1519 of file OCPNPlatform.cpp.
bool OCPNPlatform::startBluetoothScan | ( | ) |
Definition at line 2010 of file OCPNPlatform.cpp.
bool OCPNPlatform::stopBluetoothScan | ( | ) |
Definition at line 2019 of file OCPNPlatform.cpp.
double OCPNPlatform::m_pt_per_pixel |
Definition at line 131 of file OCPNPlatform.h.