#include <Appearance.h>
Public Member Functions | |
SkinsManager () | |
SkinsManager (const SkinsManager &obj) | |
virtual SkinsManager & | operator= (const SkinsManager &obj) |
~SkinsManager () | |
int | AddTheme (const char *fileDPF, const char *fileXML="skinconfig.xml") |
Add a theme. | |
int | AddTheme (ThemeSkin *theme) |
Add a theme. | |
void | RemoveTheme (const char *theme) |
Remove a theme. | |
void | Free (void) |
Unload the themes. | |
ControlSkin * | GetSkin (const char *theme, const char *name) |
Get a pointer to a skin. | |
void | SetThemeName (const char *theme, const char *name) |
Set a new name to the theme. |
Motoko::SkinsManager::SkinsManager | ( | ) |
SkinsManager constructor.
Motoko::SkinsManager::SkinsManager | ( | const SkinsManager & | obj | ) |
SkinsManager copy constructor.
Motoko::SkinsManager::~SkinsManager | ( | ) |
SkinsManager destructor.
int Motoko::SkinsManager::AddTheme | ( | ThemeSkin * | theme | ) |
Add a theme.
theme | New theme. |
int Motoko::SkinsManager::AddTheme | ( | const char * | fileDPF, | |
const char * | fileXML = "skinconfig.xml" | |||
) |
Add a theme.
fileDPF | File with the theme. | |
fileXML | File with the parameters. |
void Motoko::SkinsManager::Free | ( | void | ) |
ControlSkin * Motoko::SkinsManager::GetSkin | ( | const char * | theme, | |
const char * | name | |||
) |
Get a pointer to a skin.
theme | Name of the theme. | |
name | Name of the skin. |
SkinsManager & Motoko::SkinsManager::operator= | ( | const SkinsManager & | obj | ) | [virtual] |
SkinsManager operator =.
void Motoko::SkinsManager::RemoveTheme | ( | const char * | theme | ) |
void Motoko::SkinsManager::SetThemeName | ( | const char * | theme, | |
const char * | name | |||
) |
Set a new name to the theme.
theme | Name of the theme. | |
name | New name of the theme. |