27 #ifndef _CEGUIImageFactory_h_
28 #define _CEGUIImageFactory_h_
30 #include "CEGUI/Image.h"
43 class ImageFactory :
public
44 AllocatedObject<ImageFactory>
64 class TplImageFactory :
public ImageFactory
68 Image&
create(
const String& name);
69 Image&
create(
const XMLAttributes& attributes);
77 return *CEGUI_NEW_AO T(name);
84 return *CEGUI_NEW_AO T(attributes);
91 CEGUI_DELETE_AO ℑ
98 #endif // end of guard _CEGUIImageFactory_h_
Image & create(const String &name)
Create an instance of the Image subclass that this factory creates.
Definition: cegui/include/CEGUI/ImageFactory.h:75
Interface for Image.
Definition: cegui/include/CEGUI/Image.h:158
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
Class representing a block of attributes associated with an XML element.
Definition: cegui/include/CEGUI/XMLAttributes.h:46
void destroy(Image &image)
Destroy an instance of the Image subclass that this factory creates.
Definition: cegui/include/CEGUI/ImageFactory.h:89
virtual Image & create(const String &name)=0
Create an instance of the Image subclass that this factory creates.
virtual void destroy(Image &image)=0
Destroy an instance of the Image subclass that this factory creates.
virtual ~ImageFactory()
base class virtual destructor.
Definition: debian/tmp/usr/include/cegui-0.8.7/CEGUI/ImageFactory.h:48
String class used within the GUI system.
Definition: cegui/include/CEGUI/String.h:62