27 #ifndef _CEGUIFalComponentBase_h_
28 #define _CEGUIFalComponentBase_h_
30 #include "CEGUI/falagard/Dimensions.h"
31 #include "CEGUI/Window.h"
32 #include "CEGUI/ColourRect.h"
37 class CEGUIEXPORT FalagardComponentBase :
38 public AllocatedObject<FalagardComponentBase>
41 FalagardComponentBase();
42 virtual ~FalagardComponentBase();
59 const Rectf* clipper = 0,
bool clipToDisplay =
false)
const;
79 void render(Window& srcWindow,
const Rectf& baseRect,
81 const Rectf* clipper = 0,
bool clipToDisplay =
false)
const;
90 const ComponentArea& getComponentArea()
const;
99 void setComponentArea(
const ComponentArea& area);
109 const ColourRect& getColours()
const;
118 void setColours(
const ColourRect& cols);
127 void setColoursPropertySource(
const String& property);
130 virtual bool handleFontRenderSizeChange(Window& window,
131 const Font* font)
const;
143 void initColoursRect(
const Window& wnd,
144 const ColourRect* modCols,
145 ColourRect& cr)
const;
148 virtual void render_impl(Window& srcWindow, Rectf& destRect,
150 const Rectf* clipper,
bool clipToDisplay)
const = 0;
166 bool writeColoursXML(XMLSerializer& xml_stream)
const;
169 ComponentArea d_area;
171 ColourRect d_colours;
173 String d_colourPropertyName;
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