loadScheme换成了create
!!!
向下兼容太无语了,浪费大家的宝贵时间
其他Scheme and SchemeManager changes
在官网得到:http://www.cegui.org.uk/docs/current/porting6to7.html
- SchemeManager is now derived from new NamedXMLResourceManager template class (part of resource system improvements to make things cleaner and easier to maintain).
SchemeManager::loadScheme
function is renamed to SchemeManager::create (inherited from base class)SchemeManager::unloadScheme
function renamed to SchemeManager::destroy (inherited from new base class).SchemeManager::unloadAllSchemes
function renamed to SchemeManager::destroyAll (inherited from new base class).SchemeManager::isSchemePresent
function is renamed to SchemeManager::isDefined (inherited from new base class).SchemeManager::getScheme
function is renamed to SchemeManager::get (inherited from new base class)- SchemeManager::get returns a reference instead of a pointer (to reinforce that it will never return 0).
- SchemeManager::create returns a reference instead of a pointer (to reinforce that it will never return 0).
- SchemeManager::create function has an optional XMLResourceExistsAction argument to indicate what action to take when loading a scheme with a name that already exists.