Line 202... |
Line 202... |
202 |
SLIDER_GRTYPE_t type; //<! The type of the file the path is pointing to
|
202 |
SLIDER_GRTYPE_t type; //<! The type of the file the path is pointing to
|
203 |
std::string path; //<! The path and file name of the graphics mask file.
|
203 |
std::string path; //<! The path and file name of the graphics mask file.
|
204 |
std::string pathAlpha; //<! The path and file name of the graphics file containing the alpha part of the image.
|
204 |
std::string pathAlpha; //<! The path and file name of the graphics file containing the alpha part of the image.
|
205 |
}SLIDER_t;
|
205 |
}SLIDER_t;
|
206 |
|
206 |
|
- |
|
207 |
typedef struct CURSOR_t
|
- |
|
208 |
{
|
- |
|
209 |
std::string imageBase; // The base image file.
|
- |
|
210 |
std::string imageAlpha; // The alpha image file.
|
- |
|
211 |
}CURSOR_t;
|
- |
|
212 |
|
207 |
/**
|
213 |
/**
|
208 |
* @brief Class to manage system resources like borders, sliders, ...
|
214 |
* @brief Class to manage system resources like borders, sliders, ...
|
209 |
*
|
215 |
*
|
210 |
* \c TSystemDraw reads the system configuration file draw.xma. This is
|
216 |
* \c TSystemDraw reads the system configuration file draw.xma. This is
|
211 |
* usualy located in the system directory __system/graphics.
|
217 |
* usualy located in the system directory __system/graphics.
|
Line 233... |
Line 239... |
233 |
int getBorderHeight(const std::string& family, LINE_TYPE_t lt = LT_OFF);
|
239 |
int getBorderHeight(const std::string& family, LINE_TYPE_t lt = LT_OFF);
|
234 |
|
240 |
|
235 |
bool existSlider(const std::string& slider);
|
241 |
bool existSlider(const std::string& slider);
|
236 |
bool getSlider(const std::string& slider, SLIDER_STYLE_t *style);
|
242 |
bool getSlider(const std::string& slider, SLIDER_STYLE_t *style);
|
237 |
std::vector<SLIDER_t> getSliderFiles(const std::string& slider);
|
243 |
std::vector<SLIDER_t> getSliderFiles(const std::string& slider);
|
- |
|
244 |
bool getCursor(const std::string& cursor, CURSOR_STYLE_t *style);
|
- |
|
245 |
bool existCursor(const std::string& cursor);
|
- |
|
246 |
CURSOR_t getCursorFiles(const CURSOR_STYLE_t& style);
|
238 |
|
247 |
|
239 |
protected:
|
248 |
protected:
|
240 |
static void startElement(void *, const XML_Char *name, const XML_Char **);
|
249 |
static void startElement(void *, const XML_Char *name, const XML_Char **);
|
241 |
static void XMLCALL endElement(void *userData, const XML_Char *name);
|
250 |
static void XMLCALL endElement(void *userData, const XML_Char *name);
|
242 |
static void XMLCALL CharacterDataHandler(void *userData, const XML_Char *s, int len);
|
251 |
static void XMLCALL CharacterDataHandler(void *userData, const XML_Char *s, int len);
|