#include <OpenGUI_FormManager.h>
Public Member Functions | |
| void | DefineForm (const String &formName, FormEntry &formRoot) |
Defines a Form for later use according to the provided formDefinition, which can be recalled by the given formName. | |
| void | UndefineForm (const String &formName) |
Removes a previously defined Form by the given formName. | |
| Widget * | CreateForm (const String &formName, WidgetCollection *container=0, const String &widgetName="") |
Creates a predefined form, signified by formName, within the given container, assigning the given widgetName to the form's root widget. | |
Static Public Member Functions | |
| static FormManager & | getSingleton (void) |
| Retrieve the current singleton, if one exists. If none exists, this will cause an error. | |
| static FormManager * | getSingletonPtr (void) |
| Retrieve a pointer to the current singleton, if one exists. If none exists, this will return 0. | |
Protected Member Functions | |
| void | DefineForm (const String &formName, FormEntry *formRoot) |
Same as other DefineForm, except that this does not duplicate the given formRoot, and instead stored the pointer and assumes ownership. | |
|
||||||||||||||||
|
Creates a predefined form, signified by
|
|
||||||||||||
|
Same as other DefineForm, except that this does not duplicate the given
|
|
||||||||||||
|
Defines a Form for later use according to the provided
|
|
|
Retrieve the current singleton, if one exists. If none exists, this will cause an error.
|
|
|
Retrieve a pointer to the current singleton, if one exists. If none exists, this will return 0.
|
|
|
Removes a previously defined Form by the given
|