40#include <wx/stdpaths.h>
41#include <wx/clrpicker.h>
42#include <wx/colourdata.h>
43#include <wx/colordlg.h>
46#define PLATFORM_CAP_PLUGINS 1
47#define PLATFORM_CAP_FASTPAN 2
55void appendOSDirSlash(wxString* path);
62 std::string osd_version;
63 std::vector<std::string> osd_names_like;
73 wxString& GetPrivateDataDir();
74 wxString* GetPluginDirPtr();
75 wxString* GetSharedDataDirPtr();
76 wxString* GetPrivateDataDirPtr();
81 wxStandardPaths& GetStdPaths();
89 wxString& GetSharedDataDir();
90 wxString& GetExePath();
91 wxString& GetHomeDir();
92 wxString GetWritableDocumentsDir();
104 wxString& GetConfigFileName();
105 wxString& GetLogFileName() {
return mlog_file; }
107 bool isFlatpacked() {
return m_isFlatpacked; }
109 bool isPlatformCapable(
int flag);
112 void CloseLogFile(
void);
113 bool InitializeLogFile(
void);
114 wxString& GetLargeLogMessage(
void) {
return large_log_message; }
115 FILE* GetLogFilePtr() {
return flog; }
117 wxString NormalizePath(
const wxString& full_path);
119 virtual wxSize getDisplaySize();
120 virtual double GetDisplaySizeMM();
121 virtual double GetDisplayDPmm();
122 virtual unsigned int GetSelectRadiusPix();
123 double GetDisplayDIPMult(wxWindow *win);
125 void ShowBusySpinner();
126 void HideBusySpinner();
131 wxString m_PrivateDataDir;
132 wxString m_PluginsDir;
136 wxString m_SData_Dir;
137 wxString m_config_file_name;
138 wxString m_pluginDataPath;
145 wxString large_log_message;
147 wxSize m_displaySize;
148 wxSize m_displaySizeMM;
149 int m_displaySizeMMOverride;
153 bool GetWindowsMonitorSize(
int *width,
int *height);
155 int m_monitorWidth, m_monitorHeight;
156 bool m_bdisableWindowsDisplayEnum;