#include <OgreGuiElementFactory.h>
Inheritance diagram for Ogre::GuiElementFactory:
Public Methods | |
virtual GuiElement * | createGuiElement (const String &instanceName)=0 |
Creates a new GuiElement instance with the name supplied. | |
virtual void | destroyGuiElement (GuiElement *pElement) |
Destroys a GuiElement which this factory created previously. | |
virtual const String & | getTypeName (void) const=0 |
Gets the string uniquely identifying the type of element this factory creates. |
Each GuiElementFactory creates a single type of GuiElement, identified by a 'type name' which must be unique.
Definition at line 45 of file OgreGuiElementFactory.h.
|
Creates a new GuiElement instance with the name supplied.
Implemented in Ogre::CursorGuiElementFactory, Ogre::PanelGuiElementFactory, Ogre::BorderPanelGuiElementFactory, Ogre::TextAreaGuiElementFactory, Ogre::TextBoxGuiElementFactory, Ogre::ButtonGuiElementFactory, Ogre::BorderButtonGuiElementFactory, Ogre::ListGuiElementFactory, Ogre::ScrollBarGuiElementFactory, Ogre::PopupMenuGuiElementFactory, and Ogre::TTYGuiElementFactory. |
|
Destroys a GuiElement which this factory created previously.
Definition at line 51 of file OgreGuiElementFactory.h. |
|
Gets the string uniquely identifying the type of element this factory creates.
Implemented in Ogre::CursorGuiElementFactory, Ogre::PanelGuiElementFactory, Ogre::BorderPanelGuiElementFactory, Ogre::TextAreaGuiElementFactory, Ogre::TextBoxGuiElementFactory, Ogre::ButtonGuiElementFactory, Ogre::BorderButtonGuiElementFactory, Ogre::ListGuiElementFactory, Ogre::ScrollBarGuiElementFactory, Ogre::PopupMenuGuiElementFactory, and Ogre::TTYGuiElementFactory. Referenced by Ogre::GuiManager::addGuiElementFactory(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:02 2004