#include "paragui.h"#include "pgcolor.h"#include "theme_priv.h"#include "pglog.h"#include "pgfilearchive.h"#include "pgdraw.h"#include <string>#include <expat.h>#include <iostream>Include dependency graph for themeloader.cpp:

Go to the source code of this file.
Defines | |
| #define | T(x) x |
| #define | tcscmp strcmp |
| #define | THEMEMODE_NONE 0 |
| #define | THEMEMODE_THEME 1 |
| #define | THEMEMODE_WIDGET 2 |
| #define | THEMEMODE_OBJECT 3 |
| #define | THEME_SUFFIX ".theme" |
| #define | BUFFSIZE 8192 |
Typedefs | |
| typedef _PARSE_INFO | PARSE_INFO |
Functions | |
| void | parseGlobProps (PARSE_INFO *info, const XML_Char *name, const XML_Char **atts) |
| void | parseThemeProps (PARSE_INFO *info, const XML_Char *prop, const XML_Char **atts) |
| void | parseWidgetProps (PARSE_INFO *info, const XML_Char *prop, const XML_Char **atts) |
| void | parseObjectProps (PARSE_INFO *info, const XML_Char *prop, const XML_Char **atts) |
| void | handlerStart (void *userData, const XML_Char *name, const XML_Char **atts) |
| void | handlerEnd (void *userData, const XML_Char *name) |
Variables | |
| static char * | buff |
|
|
Definition at line 73 of file themeloader.cpp. Referenced by PG_Theme::Load(). |
|
|
|
Definition at line 50 of file themeloader.cpp. Referenced by handlerEnd(), parseObjectProps(), parseThemeProps(), parseWidgetProps(), PG_Layout::GetParamAlign(), PG_Layout::GetParamIMode(), and PG_Layout::GetParamStr(). |
|
|
Definition at line 71 of file themeloader.cpp. Referenced by PG_Theme::Load(). |
|
|
Definition at line 66 of file themeloader.cpp. Referenced by handlerEnd(), handlerStart(), and PG_Theme::Load(). |
|
|
Definition at line 69 of file themeloader.cpp. Referenced by handlerStart(), and parseWidgetProps(). |
|
|
Definition at line 67 of file themeloader.cpp. Referenced by handlerEnd(), and handlerStart(). |
|
|
Definition at line 68 of file themeloader.cpp. Referenced by handlerEnd(), handlerStart(), and parseThemeProps(). |
|
|
|
|
||||||||||||
|
Definition at line 376 of file themeloader.cpp. References _PARSE_INFO::depth, _PARSE_INFO::mode, T, tcscmp, THEMEMODE_NONE, THEMEMODE_THEME, and THEMEMODE_WIDGET. Referenced by PG_Theme::Load(). |
|
||||||||||||||||
|
Definition at line 351 of file themeloader.cpp. References _PARSE_INFO::depth, _PARSE_INFO::mode, parseGlobProps(), parseObjectProps(), parseThemeProps(), parseWidgetProps(), THEMEMODE_NONE, THEMEMODE_OBJECT, THEMEMODE_THEME, and THEMEMODE_WIDGET. Referenced by PG_Theme::Load(). |
|
||||||||||||||||
|
Definition at line 77 of file themeloader.cpp. References _PARSE_INFO::theme. Referenced by handlerStart(). |
|
||||||||||||||||
|
||||||||||||||||
|
Definition at line 87 of file themeloader.cpp. References atoi(), THEME_THEME::author, THEME_THEME::defaultfont, THEME_THEME::description, THEME_THEME::email, _PARSE_INFO::mode, THEME_FONT::name, _PARSE_INFO::p_currentWidget, THEME_FONT::size, T, tcscmp, _PARSE_INFO::theme, THEMEMODE_WIDGET, THEME_THEME::title, THEME_WIDGET::type, and THEME_FONT::value. Referenced by handlerStart(). |
|
||||||||||||||||
|
Definition at line 127 of file themeloader.cpp. References _PARSE_INFO::mode, THEME_OBJECT::name, _PARSE_INFO::p_currentObject, _PARSE_INFO::p_currentWidget, T, tcscmp, _PARSE_INFO::theme, THEMEMODE_OBJECT, THEME_OBJECT::type, THEME_WIDGET::type, and THEME_THEME::widget. Referenced by handlerStart(). |
|
|
Definition at line 75 of file themeloader.cpp. Referenced by PG_Theme::Load(), and PG_Layout::Load(). |
1.4.2