27 #ifndef _CEGUIFalImageryComponent_h_
28 #define _CEGUIFalImageryComponent_h_
30 #include "./ComponentBase.h"
31 #include "../XMLSerializer.h"
32 #include "CEGUI/falagard/FormattingSetting.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
46 class CEGUIEXPORT ImageryComponent :
public FalagardComponentBase
62 const Image* getImage()
const;
74 void setImage(
const Image* image);
86 void setImage(
const String& name);
135 void setHorizontalFormattingPropertySource(
const String& property_name);
142 void setVerticalFormattingPropertySource(
const String& property_name);
155 void writeXMLToStream(XMLSerializer& xml_stream)
const;
165 bool isImageFetchedFromProperty()
const;
174 const String& getImagePropertySource()
const;
186 void setImagePropertySource(
const String& property);
190 void render_impl(Window& srcWindow, Rectf& destRect,
const CEGUI::ColourRect* modColours,
const Rectf* clipper,
bool clipToDisplay)
const;
192 const Image* d_image;
193 FormattingSetting<VerticalFormatting> d_vertFormatting;
196 FormattingSetting<HorizontalFormatting> d_horzFormatting;
197 String d_imagePropertyName;
202 #if defined(_MSC_VER)
203 # pragma warning(pop)
206 #endif // end of guard _CEGUIFalImageryComponent_h_
VerticalFormatting
Enumeration of possible values to indicate the vertical formatting to be used for an image component...
Definition: cegui/include/CEGUI/falagard/Enums.h:58
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
Class that holds details of colours for the four corners of a rectangle.
Definition: cegui/include/CEGUI/ColourRect.h:43
HorizontalFormatting
Enumeration of possible values to indicate the horizontal formatting to be used for an image componen...
Definition: cegui/include/CEGUI/falagard/Enums.h:71