MyGUI
3.2.1
|
#include <MyGUI_SkinManager.h>
Public Member Functions | |
SkinManager () | |
void | initialise () |
void | shutdown () |
ResourceSkin * | getByName (const std::string &_name) const |
bool | isExist (const std::string &_name) const |
const std::string | getDefaultSkin () const |
void | setDefaultSkin (const std::string &_value) |
Public Member Functions inherited from MyGUI::Singleton< SkinManager > | |
Singleton () | |
virtual | ~Singleton () |
Public Member Functions inherited from MyGUI::MemberObsolete< SkinManager > | |
ResourceSkin * | getSkin (const std::string &_name) |
bool | load (const std::string &_file) |
void | loadOldSkinFormat (xml::ElementPtr _node, const std::string &_file, Version _version, const std::string &_tag) |
Additional Inherited Members | |
Public Types inherited from MyGUI::Singleton< SkinManager > | |
typedef Singleton< SkinManager > | Base |
Static Public Member Functions inherited from MyGUI::Singleton< SkinManager > | |
static SkinManager & | getInstance () |
static SkinManager * | getInstancePtr () |
static const char * | getClassTypeName () |
Definition at line 21 of file MyGUI_SkinManager.h.
MyGUI::SkinManager::SkinManager | ( | ) |
Definition at line 26 of file MyGUI_SkinManager.cpp.
ResourceSkin * MyGUI::SkinManager::getByName | ( | const std::string & | _name | ) | const |
Get ResourceSkin by name
Definition at line 80 of file MyGUI_SkinManager.cpp.
const std::string MyGUI::SkinManager::getDefaultSkin | ( | ) | const |
Get default skin name. Default skin used when creating widget with skin that doesn't exist.
Definition at line 111 of file MyGUI_SkinManager.cpp.
void MyGUI::SkinManager::initialise | ( | ) |
Definition at line 33 of file MyGUI_SkinManager.cpp.
bool MyGUI::SkinManager::isExist | ( | const std::string & | _name | ) | const |
Check if skin with specified name exist
Definition at line 99 of file MyGUI_SkinManager.cpp.
void MyGUI::SkinManager::setDefaultSkin | ( | const std::string & | _value | ) |
Set default skin name. Default skin used when creating widget with skin that doesn't exist.
Definition at line 106 of file MyGUI_SkinManager.cpp.
void MyGUI::SkinManager::shutdown | ( | ) |
Definition at line 50 of file MyGUI_SkinManager.cpp.