Crazy Eddie's GUI System
0.8.4
|
A class that manages the creation of, access to, and destruction of GUI Scheme objects. More...
Public Types | |
typedef ConstMapIterator < ObjectRegistry > | SchemeIterator |
Definition of SchemeIterator type. | |
Public Member Functions | |
SchemeManager () | |
Constructor. | |
~SchemeManager () | |
Destructor. | |
SchemeIterator | getIterator () const |
Return a SchemeManager::SchemeIterator object to iterate over the available schemes. | |
void | setAutoLoadResources (bool enabled) |
If this is enabled, Schemas will immediately load their resources after they are created. | |
bool | getAutoLoadResources () const |
Checks whether resources are loaded immediately after schemes are created. | |
Protected Member Functions | |
void | doPostObjectAdditionAction (Scheme &object) |
Function called each time a new object is added to the collection. | |
Protected Attributes | |
bool | d_autoLoadResources |
If true, Scheme::loadResources is called after "create" is called for it. |
A class that manages the creation of, access to, and destruction of GUI Scheme objects.
bool CEGUI::SchemeManager::getAutoLoadResources | ( | ) | const |
Checks whether resources are loaded immediately after schemes are created.
void CEGUI::SchemeManager::setAutoLoadResources | ( | bool | enabled | ) |
If this is enabled, Schemas will immediately load their resources after they are created.
It's sometimes useful to turn this off when you want to load things more selectively. This is enabled by default.
enabled | If true, you will have to load resources from the Scheme yourself! |