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);
156 const String& getHorizontalFormattingPropertySource()
const;
163 void setHorizontalFormattingPropertySource(
const String& property_name);
173 const String& getVerticalFormattingPropertySource()
const;
180 void setVerticalFormattingPropertySource(
const String& property_name);
193 void writeXMLToStream(XMLSerializer& xml_stream)
const;
203 bool isImageFetchedFromProperty()
const;
212 const String& getImagePropertySource()
const;
224 void setImagePropertySource(
const String& property);
228 void render_impl(Window& srcWindow, Rectf& destRect,
const CEGUI::ColourRect* modColours,
const Rectf* clipper,
bool clipToDisplay)
const;
230 const Image* d_image;
231 FormattingSetting<VerticalFormatting> d_vertFormatting;
234 FormattingSetting<HorizontalFormatting> d_horzFormatting;
235 String d_imagePropertyName;
240 #if defined(_MSC_VER) 241 # pragma warning(pop) 244 #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