#include <pgtheme.h>
Inheritance diagram for PG_Theme:

Public Member Functions | |
| virtual | ~PG_Theme () |
| virtual const std::string & | FindDefaultFontName ()=0 |
| virtual int | FindDefaultFontSize ()=0 |
| virtual PG_Font::Style | FindDefaultFontStyle ()=0 |
| virtual const std::string & | FindFontName (const std::string &widgettype, const std::string &objectname)=0 |
| virtual int | FindFontSize (const std::string &widgettype, const std::string &objectname)=0 |
| virtual PG_Font::Style | FindFontStyle (const std::string &widgettype, const std::string &objectname)=0 |
| virtual SDL_Surface * | FindSurface (const std::string &widgettype, const std::string &object, const std::string &name)=0 |
| virtual PG_Gradient * | FindGradient (const std::string &widgettype, const std::string &object, const std::string &name)=0 |
| virtual void | GetProperty (const std::string &widgettype, const std::string &object, const std::string &name, long &prop)=0 |
| virtual void | GetProperty (const std::string &widgettype, const std::string &object, const std::string &name, Uint8 &prop)=0 |
| virtual void | GetProperty (const std::string &widgettype, const std::string &object, const std::string &name, bool &prop)=0 |
| virtual void | GetProperty (const std::string &widgettype, const std::string &object, const std::string &name, int &prop)=0 |
| void | GetProperty (const std::string &widgettype, const std::string &object, const std::string &name, Uint16 &prop) |
| virtual void | GetProperty (const std::string &widgettype, const std::string &object, const std::string &name, PG_Draw::BkMode &prop)=0 |
| virtual void | GetAlignment (const std::string &widgettype, const std::string &object, const std::string &name, PG_Label::TextAlign &align)=0 |
| virtual void | GetColor (const std::string &widgettype, const std::string &object, const std::string &name, PG_Color &color)=0 |
| virtual const std::string & | FindString (const std::string &widgettype, const std::string &object, const std::string &name)=0 |
Static Public Member Functions | |
| static PG_Theme * | Load (const std::string &xmltheme) |
| Load and process a XML theme definition file. | |
| static void | Unload (PG_Theme *theme) |
Definition at line 45 of file pgtheme.h.
|
|
|
|
|
Implemented in THEME_THEME. Referenced by PG_Application::LoadTheme(). |
|
|
Implemented in THEME_THEME. Referenced by PG_Application::LoadTheme(). |
|
|
Implemented in THEME_THEME. Referenced by PG_Application::LoadTheme(). |
|
||||||||||||
|
Implemented in THEME_THEME. Referenced by PG_Widget::LoadThemeStyle(), and PG_ThemeWidget::LoadThemeStyle(). |
|
||||||||||||
|
Implemented in THEME_THEME. Referenced by PG_Widget::LoadThemeStyle(), and PG_ThemeWidget::LoadThemeStyle(). |
|
||||||||||||
|
Implemented in THEME_THEME. Referenced by PG_Widget::LoadThemeStyle(), and PG_ThemeWidget::LoadThemeStyle(). |
|
||||||||||||||||
|
Implemented in THEME_THEME. Referenced by PG_ThemeWidget::LoadThemeStyle(), PG_ProgressBar::LoadThemeStyle(), PG_PopupMenu::LoadThemeStyle(), PG_ListBoxItem::LoadThemeStyle(), and PG_Button::LoadThemeStyle(). |
|
||||||||||||||||
|
Implemented in THEME_THEME. Referenced by PG_LineEdit::LoadThemeStyle(), PG_Label::LoadThemeStyle(), and PG_Button::LoadThemeStyle(). |
|
||||||||||||||||
|
||||||||||||||||||||
|
Implemented in THEME_THEME. Referenced by PG_Label::LoadThemeStyle(). |
|
||||||||||||||||||||
|
||||||||||||||||||||
|
Implemented in THEME_THEME. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Implemented in THEME_THEME. |
|
||||||||||||||||||||
|
Implemented in THEME_THEME. |
|
||||||||||||||||||||
|
Implemented in THEME_THEME. |
|
||||||||||||||||||||
|
|
Load and process a XML theme definition file.
Definition at line 390 of file themeloader.cpp. References PG_FileArchive::AddArchive(), buff, BUFFSIZE, _PARSE_INFO::depth, PG_File::eof(), PG_FileArchive::Exists(), PG_FileArchive::GetDirSeparator(), PG_FileArchive::GetLastError(), PG_FileArchive::GetRealDir(), handlerEnd(), handlerStart(), _PARSE_INFO::mode, PG_FileArchive::OpenFile(), _PARSE_INFO::p_currentObject, _PARSE_INFO::p_currentWidget, PG_LogERR(), PG_LogMSG(), PG_LogWRN(), PG_File::read(), _PARSE_INFO::theme, THEME_SUFFIX, THEMEMODE_NONE, and _PARSE_INFO::themename. Referenced by PG_Application::LoadTheme(). |
|
|
Definition at line 488 of file themeloader.cpp. |
1.4.2