|
| wxString & | GetPrivateDataDir () |
| | Return dir path for opencpn.log, etc., respecting -c cli option.
|
| |
| wxString & | DefaultPrivateDataDir () |
| | Return dir path for opencpn.log, etc., does not respect -c option.
|
| |
| wxString * | GetPluginDirPtr () |
| |
| wxString * | GetSharedDataDirPtr () |
| |
| wxString * | GetPrivateDataDirPtr () |
| | Legacy compatibility syntactic sugar for GetPrivateDataDir().
|
| |
| wxString & | GetPluginDir () |
| | The original in-tree plugin directory, sometimes not user-writable.
|
| |
| wxString | GetSupplementalLicenseString () |
| | Android license details, otherwise "".
|
| |
| wxStandardPaths & | GetStdPaths () |
| |
| wxString | GetWinPluginBaseDir () |
| | Base directory for user writable windows plugins, reflects winPluginDir option, defaults to LOCALAPPDATA%/opencpn.
|
| |
| wxString & | GetSharedDataDir () |
| |
| wxString & | GetExePath () |
| |
| wxString & | GetHomeDir () |
| |
| wxString | GetWritableDocumentsDir () |
| |
| wxString | GetPluginDataPath () |
| | Return ';'-separated list of base directories for plugin data.
|
| |
| wxString & | GetConfigFileName () |
| |
| wxString & | GetLogFileName () |
| |
| bool | isFlatpacked () |
| |
| bool | isPlatformCapable (int flag) |
| |
| OCPN_OSDetail * | GetOSDetail () |
| |
| void | CloseLogFile (void) |
| |
|
virtual bool | InitializeLogFile (void)=0 |
| |
| 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) |
| | Get the display scaling factor for DPI-aware rendering.
|
| |
| virtual int | GetSvgStdIconSize (const wxWindow *w, bool touch)=0 |
| | Return icon size roughly corresponding to height of a char in w, tweaked to be "big enough" for touch screens if touch is true.
|
| |
Definition at line 85 of file base_platform.h.
◆ CloseLogFile()
| void AbstractPlatform::CloseLogFile |
( |
void |
| ) |
|
◆ DefaultPrivateDataDir()
| wxString & AbstractPlatform::DefaultPrivateDataDir |
( |
| ) |
|
Return dir path for opencpn.log, etc., does not respect -c option.
Definition at line 334 of file base_platform.cpp.
◆ DetectOSDetail()
◆ GetConfigFileName()
| wxString & AbstractPlatform::GetConfigFileName |
( |
| ) |
|
◆ GetDisplayDIPMult()
| double AbstractPlatform::GetDisplayDIPMult |
( |
wxWindow * |
win | ) |
|
Get the display scaling factor for DPI-aware rendering.
- Note
- Only applies scaling on Windows. Other platforms return 1.0 as they handle DPI scaling differently (e.g., macOS uses logical pixels).
Definition at line 844 of file base_platform.cpp.
◆ GetDisplayDPmm()
| virtual double AbstractPlatform::GetDisplayDPmm |
( |
| ) |
|
|
inlinevirtual |
◆ getDisplaySize()
| virtual wxSize AbstractPlatform::getDisplaySize |
( |
| ) |
|
|
inlinevirtual |
◆ GetDisplaySizeMM()
| virtual double AbstractPlatform::GetDisplaySizeMM |
( |
| ) |
|
|
inlinevirtual |
◆ GetExePath()
| wxString & AbstractPlatform::GetExePath |
( |
| ) |
|
◆ GetHomeDir()
| wxString & AbstractPlatform::GetHomeDir |
( |
| ) |
|
◆ GetLargeLogMessage()
| wxString & AbstractPlatform::GetLargeLogMessage |
( |
void |
| ) |
|
|
inline |
◆ GetLogFileName()
| wxString & AbstractPlatform::GetLogFileName |
( |
| ) |
|
|
inline |
◆ GetLogFilePtr()
| FILE * AbstractPlatform::GetLogFilePtr |
( |
| ) |
|
|
inline |
◆ GetOSDetail()
◆ GetPluginDataPath()
| wxString AbstractPlatform::GetPluginDataPath |
( |
| ) |
|
Return ';'-separated list of base directories for plugin data.
The list always includes the main installation directory. Some platforms prepends this with user-writable path(s), each of which ending in "opencpn". All paths are guaranteed to exist.
For Linux, return paths ending in .../share.
Definition at line 732 of file base_platform.cpp.
◆ GetPluginDir()
| wxString & AbstractPlatform::GetPluginDir |
( |
| ) |
|
The original in-tree plugin directory, sometimes not user-writable.
Definition at line 431 of file base_platform.cpp.
◆ GetPluginDirPtr()
| wxString * AbstractPlatform::GetPluginDirPtr |
( |
| ) |
|
◆ GetPrivateDataDir()
| wxString & AbstractPlatform::GetPrivateDataDir |
( |
| ) |
|
Return dir path for opencpn.log, etc., respecting -c cli option.
Definition at line 321 of file base_platform.cpp.
◆ GetPrivateDataDirPtr()
| wxString * AbstractPlatform::GetPrivateDataDirPtr |
( |
| ) |
|
◆ GetSelectRadiusPix()
| unsigned int AbstractPlatform::GetSelectRadiusPix |
( |
| ) |
|
|
virtual |
◆ GetSharedDataDir()
| wxString & AbstractPlatform::GetSharedDataDir |
( |
| ) |
|
◆ GetSharedDataDirPtr()
| wxString * AbstractPlatform::GetSharedDataDirPtr |
( |
| ) |
|
◆ GetStdPaths()
| wxStandardPaths & AbstractPlatform::GetStdPaths |
( |
| ) |
|
◆ GetSupplementalLicenseString()
| wxString AbstractPlatform::GetSupplementalLicenseString |
( |
| ) |
|
◆ GetSvgStdIconSize()
| virtual int AbstractPlatform::GetSvgStdIconSize |
( |
const wxWindow * |
w, |
|
|
bool |
touch |
|
) |
| |
|
pure virtual |
Return icon size roughly corresponding to height of a char in w, tweaked to be "big enough" for touch screens if touch is true.
Implemented in BasePlatform.
◆ GetWinPluginBaseDir()
| wxString AbstractPlatform::GetWinPluginBaseDir |
( |
| ) |
|
Base directory for user writable windows plugins, reflects winPluginDir option, defaults to LOCALAPPDATA%/opencpn.
Definition at line 372 of file base_platform.cpp.
◆ GetWritableDocumentsDir()
| wxString AbstractPlatform::GetWritableDocumentsDir |
( |
| ) |
|
◆ HideBusySpinner()
| void AbstractPlatform::HideBusySpinner |
( |
void |
| ) |
|
|
static |
◆ isFlatpacked()
| bool AbstractPlatform::isFlatpacked |
( |
| ) |
|
|
inline |
◆ isPlatformCapable()
| bool AbstractPlatform::isPlatformCapable |
( |
int |
flag | ) |
|
◆ NormalizePath()
| wxString AbstractPlatform::NormalizePath |
( |
const wxString & |
full_path | ) |
|
◆ ShowBusySpinner()
| void AbstractPlatform::ShowBusySpinner |
( |
void |
| ) |
|
|
static |
◆ flog
| FILE* AbstractPlatform::flog |
|
protected |
◆ large_log_message
| wxString AbstractPlatform::large_log_message |
|
protected |
◆ m_bdisableWindowsDisplayEnum
| bool AbstractPlatform::m_bdisableWindowsDisplayEnum |
|
protected |
◆ m_config_file_name
| wxString AbstractPlatform::m_config_file_name |
|
protected |
◆ m_default_private_datadir
| wxString AbstractPlatform::m_default_private_datadir |
|
protected |
◆ m_displaySizeMMOverride
| std::vector<int> AbstractPlatform::m_displaySizeMMOverride |
|
protected |
◆ m_exePath
| wxString AbstractPlatform::m_exePath |
|
protected |
◆ m_homeDir
| wxString AbstractPlatform::m_homeDir |
|
protected |
◆ m_isBusy
| bool AbstractPlatform::m_isBusy = false |
|
staticprotected |
◆ m_isFlatpacked
| bool AbstractPlatform::m_isFlatpacked |
|
protected |
◆ m_monitorHeight
| int AbstractPlatform::m_monitorHeight |
|
protected |
◆ m_monitorWidth
| int AbstractPlatform::m_monitorWidth |
|
protected |
◆ m_old_logger
| wxLog* AbstractPlatform::m_old_logger |
|
protected |
◆ m_osDetail
◆ m_pluginDataPath
| wxString AbstractPlatform::m_pluginDataPath |
|
protected |
◆ m_PluginsDir
| wxString AbstractPlatform::m_PluginsDir |
|
protected |
◆ m_PrivateDataDir
| wxString AbstractPlatform::m_PrivateDataDir |
|
protected |
◆ m_SData_Dir
| wxString AbstractPlatform::m_SData_Dir |
|
protected |
◆ mlog_file
| wxString AbstractPlatform::mlog_file |
|
protected |
The documentation for this class was generated from the following files: