Crazy Eddie's GUI System
0.8.4
|
Handler class used to parse the GUILayout XML files using SAX2. More...
Public Member Functions | |
GUILayout_xmlHandler (PropertyCallback *callback=0, void *userdata=0) | |
Constructor for GUILayout_xmlHandler objects. | |
virtual | ~GUILayout_xmlHandler (void) |
Destructor for GUILayout_xmlHandler objects. | |
virtual const String & | getSchemaName () const |
Retrieves the schema file name to use with resources handled by this handler. | |
virtual const String & | getDefaultResourceGroup () const |
Retrieves the default resource group to be used when handling files. | |
virtual void | elementStart (const String &element, const XMLAttributes &attributes) |
document processing (only care about elements, schema validates format) | |
virtual void | elementEnd (const String &element) |
Method called to notify the handler at the end of each XML element encountered. | |
virtual void | text (const String &text) |
Method called to notify text node, several successiv text node are agregated. | |
void | cleanupLoadedWindows (void) |
Destroy all windows created so far. | |
Window * | getLayoutRootWindow (void) const |
Return a pointer to the 'root' window created. | |
Static Public Attributes | |
static const String | NativeVersion |
The only version that we will allow to load. | |
static const String | GUILayoutElement |
Tag name for GUILayout elements. | |
static const String | LayoutImportElement |
Tag name for LayoutImport elements. | |
static const String | EventElement |
Tag name for Event elements. | |
static const String | LayoutImportFilenameAttribute |
Attribute name that stores the file name of the layout to import. | |
static const String | LayoutImportResourceGroupAttribute |
Attribute name that stores the resource group identifier used when loading imported file. | |
static const String | EventNameAttribute |
Attribute name that stores the event name to be subscribed. | |
static const String | EventFunctionAttribute |
Attribute name that stores the name of the scripted function to be bound. | |
static const String | GUILayoutVersionAttribute |
Attribute name that stores the xml file version. |
Handler class used to parse the GUILayout XML files using SAX2.
virtual void CEGUI::GUILayout_xmlHandler::elementEnd | ( | const String & | element | ) | [virtual] |
Method called to notify the handler at the end of each XML element encountered.
element | String object holding the name of the element that is ending. |
Reimplemented from CEGUI::XMLHandler.
virtual void CEGUI::GUILayout_xmlHandler::text | ( | const String & | text | ) | [virtual] |
Method called to notify text node, several successiv text node are agregated.
text | String object holding the content of the text node. |
Reimplemented from CEGUI::XMLHandler.