Abstract class that defines the required interface for all WindowFactory objects.
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
WindowFactoryManager so that the system knows how to create and destroy
those types of Window base object.
- Note
- The use if of the CEGUI_DECLARE_WINDOW_FACTORY, CEGUI_DEFINE_WINDOW_FACTORY and CEGUI_WINDOW_FACTORY macros is deprecated in favour of the template class TplWindowFactory and templatised WindowFactoryManager::addFactory function, whereby you no longer need to directly create any supporting structure for your new window type, and can simply do:
CEGUI::WindowFactoryManager::addFactory<TplWindowFactory<MyWidget> >();