Inheritance diagram for CEGUI::WindowFactory:
Public Member Functions | |
virtual Window * | createWindow (const String &name)=0 |
Create a new Window object of whatever type this WindowFactory produces. | |
virtual void | destroyWindow (Window *window)=0 |
Destroys the given Window object. | |
const String & | getTypeName (void) const |
Get the string that describes the type of Window object this WindowFactory produces. | |
Protected Member Functions | |
WindowFactory (const String &type) | |
Protected Attributes | |
String | d_type |
String holding the type of object created by this factory. |
A WindowFactory is used to create and destroy windows of a specific type. For every type of Window object wihin the system (widgets, dialogs, movable windows etc) there must be an associated WindowFactory registered with the WindowManager so that the system knows how to create and destroy those types of Window base object.
|
Create a new Window object of whatever type this WindowFactory produces.
Implemented in CEGUI::DragContainerFactory, CEGUI::GUISheetFactory, and CEGUI::ScrolledContainerFactory. |
|
Destroys the given Window object.
Implemented in CEGUI::DragContainerFactory, CEGUI::GUISheetFactory, and CEGUI::ScrolledContainerFactory. |
|
Get the string that describes the type of Window object this WindowFactory produces.
|