magistr
05-01-2008 20:05:20
Why QuickGUI SkinSet.gameplay.png file updates on start application?
I saw this as follows: SkinSet.gameplay.png manually edit this file and launched the application. After running, file SkinSet.gameplay.png rebuilded, and it does not have my changes.
For initialize QuickGUI I am use next code:
How to initialize QuickGUI skinset without update skinset file.
I saw this as follows: SkinSet.gameplay.png manually edit this file and launched the application. After running, file SkinSet.gameplay.png rebuilded, and it does not have my changes.
For initialize QuickGUI I am use next code:
ResourceGroupManager *rsm = ResourceGroupManager::getSingletonPtr();
StringVector groups = rsm->getResourceGroups();
String mResourceGroup = "quickgui";
if (std::find(groups.begin(), groups.end(), mResourceGroup) == groups.end())
{
rsm->createResourceGroup(mResourceGroup);
}
QuickGUI::SkinSetManager::getSingleton().loadSkin("qgui",QuickGUI::SkinSet::IMAGE_TYPE_PNG,mResourceGroup);
mGUIManager = QuickGUI::Root::getSingleton().createGUIManager(mCamera->getViewport());
mGUIManager->setSceneManager(mSceneMgr);
How to initialize QuickGUI skinset without update skinset file.