27 #ifndef _CEGUIImageFactory_h_
28 #define _CEGUIImageFactory_h_
30 #include "CEGUI/Image.h"
77 return *CEGUI_NEW_AO T(name);
84 return *CEGUI_NEW_AO T(attributes);
91 CEGUI_DELETE_AO ℑ
Definition: MemoryAllocatedObject.h:110
Interface for factory objects that create instances of classes derived from the Image class.
Definition: ImageFactory.h:45
virtual Image & create(const XMLAttributes &attributes)=0
virtual void destroy(Image &image)=0
Destroy an instance of the Image subclass that this factory creates.
virtual Image & create(const String &name)=0
Create an instance of the Image subclass that this factory creates.
virtual ~ImageFactory()
base class virtual destructor.
Definition: ImageFactory.h:48
Interface for Image.
Definition: Image.h:161
String class used within the GUI system.
Definition: String.h:64
Templatised ImageFactory subclass used internally by the system.
Definition: ImageFactory.h:65
void destroy(Image &image)
Destroy an instance of the Image subclass that this factory creates.
Definition: ImageFactory.h:89
Image & create(const String &name)
Create an instance of the Image subclass that this factory creates.
Definition: ImageFactory.h:75
Class representing a block of attributes associated with an XML element.
Definition: XMLAttributes.h:48
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1