112 wxBitmap GetNormalBG();
113 wxBitmap GetActiveBG();
114 wxBitmap GetToggledBG();
115 wxBitmap GetToolbarStart();
116 wxBitmap GetToolbarEnd();
117 bool HasBackground()
const {
return hasBackground; }
118 void HasBackground(
bool b) { hasBackground = b; }
119 wxBitmap GetIcon(
const wxString& name,
int width = -1,
int height = -1,
120 bool bforceReload =
false);
121 wxBitmap GetIconScaled(
const wxString& name,
double scaleFactor,
122 bool bforceReload =
false);
124 wxBitmap GetToolIcon(
const wxString& toolname,
int iconType = TOOLICON_NORMAL,
125 bool rollover =
false,
int width = -1,
int height = -1);
126 wxBitmap BuildPluginIcon(wxBitmap& bm,
int iconType,
double scale = 1.0);
127 bool NativeToolIconExists(
const wxString& name);
129 int GetTopMargin()
const {
return toolMarginTop[currentOrientation]; }
130 int GetRightMargin()
const {
return toolMarginRight[currentOrientation]; }
131 int GetBottomMargin()
const {
return toolMarginBottom[currentOrientation]; }
132 int GetLeftMargin()
const {
return toolMarginLeft[currentOrientation]; }
133 int GetToolbarCornerRadius();
135 int GetCompassTopMargin()
const {
return compassMarginTop; }
136 int GetCompassRightMargin()
const {
return compassMarginRight; }
137 int GetCompassBottomMargin()
const {
return compassMarginBottom; }
138 int GetCompassLeftMargin()
const {
return compassMarginLeft; }
139 int GetCompassCornerRadius()
const {
return compasscornerRadius; }
140 int GetCompassXOffset()
const {
return compassXoffset; }
141 int GetCompassYOffset()
const {
return compassYoffset; }
143 int GetToolSeparation()
const {
return toolSeparation[currentOrientation]; }
144 wxSize GetToolSize()
const {
return toolSize[currentOrientation]; }
145 wxSize GetToggledToolSize()
const {
146 return toggledBGSize[currentOrientation];
149 bool HasToolbarStart()
const {
150 return toolbarStartLoc[currentOrientation] != wxPoint(0, 0);
152 bool HasToolbarEnd()
const {
153 return toolbarEndLoc[currentOrientation] != wxPoint(0, 0);
155 void DrawToolbarLineStart(wxBitmap& bmp,
double scale = 1.0);
156 void DrawToolbarLineEnd(wxBitmap& bmp,
double scale = 1.0);
158 static wxBitmap SetBitmapBrightness(wxBitmap& bitmap, ColorScheme cs);
159 static wxBitmap SetBitmapBrightnessAbs(wxBitmap& bitmap,
double level);
161 void SetOrientation(
long orient);
162 int GetOrientation();
163 void SetColorScheme(ColorScheme cs);
168 wxString description;
169 wxString graphicsFile;
170 int toolMarginTop[2];
171 int toolMarginRight[2];
172 int toolMarginBottom[2];
173 int toolMarginLeft[2];
174 int toolSeparation[2];
176 int compassMarginTop;
177 int compassMarginRight;
178 int compassMarginBottom;
179 int compassMarginLeft;
180 int compasscornerRadius;
185 wxSize toggledBGSize[2];
186 wxPoint toggledBGlocation[2];
187 wxPoint activeBGlocation[2];
188 wxPoint normalBGlocation[2];
189 wxSize verticalIconOffset;
190 wxArrayPtrVoid tools;
192 wxArrayPtrVoid icons;
196 wxColor consoleFontColor;
197 wxPoint consoleTextBackgroundLoc;
198 wxSize consoleTextBackgroundSize;
199 wxPoint toolbarStartLoc[2];
200 wxSize toolbarStartSize[2];
201 wxPoint toolbarEndLoc[2];
202 wxSize toolbarEndSize[2];
203 wxBitmap consoleTextBackground;
204 wxBitmap toolbarStart[2];
205 wxBitmap toolbarEnd[2];
207 bool marginsInvisible;
209 int chartStatusIconWidth;
210 bool chartStatusWindowTransparent;
215 wxString myConfigFileDir;
218 int currentOrientation;
219 ColorScheme colorscheme;