27 mXmlSkinTagName(
"Skin"),
28 mXmlDefaultSkinValue(
"Default"),
29 mSingletonHolder(this)
43 mDefaultName =
"skin_Default";
44 createDefault(mDefaultName);
61 mIsInitialise =
false;
66#ifndef MYGUI_DONT_USE_OBSOLETE
71 void SkinManager::createDefault(
const std::string& _value)
76 skin->setResourceName(_value);
84 if (!skinName.empty() && skinName != mXmlDefaultSkinValue)
87 if (result ==
nullptr)
90 if (!skinName.empty() && skinName != mXmlDefaultSkinValue)
108 mDefaultName = _value;
#define MYGUI_ASSERT(exp, dest)
#define MYGUI_LOG(level, text)
static std::string getSkinRename(const std::string &_skinName)
void unregisterFactory(const std::string &_category, const std::string &_type)
static FactoryManager & getInstance()
void registerFactory(const std::string &_category, const std::string &_type, Delegate::IDelegate *_delegate)
IObject * createObject(const std::string &_category, const std::string &_type)
Type * castType(bool _throw=true)
virtual bool isType(const std::type_info &_type) const override
static LayoutManager & getInstance()
void loadOldSkinFormat(xml::ElementPtr _node, const std::string &_file, Version _version, const std::string &_tag)
const std::string & getCategoryName() const
IResource * getByName(const std::string &_name, bool _throw=true) const
void unregisterLoadXmlDelegate(const std::string &_key)
static ResourceManager & getInstance()
LoadXmlDelegate & registerLoadXmlDelegate(const std::string &_key)
void addResource(IResourcePtr _item)
const std::string getDefaultSkin() const
void setDefaultSkin(const std::string &_value)
static const char * getClassTypeName()
ResourceSkin * getByName(const std::string &_name) const
bool isExist(const std::string &_name) const
delegates::DelegateFunction< Args... > * newDelegate(void(*_func)(Args... args))
MYGUI_SINGLETON_DEFINITION(ClipboardManager)