mrmclovin
04-01-2009 20:27:21
The resource group you pass with the mygui initialization should apply to all mygui entities. For instance:
At the moment you have to specify the resource group in the layour manager if you're not using Ogre::DefaultResourceGroup.
A slight improvement IMO...
mygui->initialize(mWindow, "core.xml" "myResourceGroup");
mLayoutMgr->load("myLayout.layout") <---- load myLayout.layout from resourcegroup "myResourceGroup"
At the moment you have to specify the resource group in the layour manager if you're not using Ogre::DefaultResourceGroup.
mLayoutMgr->load("myLayout.layout", "myResourceGroup");
A slight improvement IMO...