27 #ifndef _CEGUIFalSectionSpecification_h_
28 #define _CEGUIFalSectionSpecification_h_
30 #include "../Window.h"
31 #include "../ColourRect.h"
82 const String& controlPropertySource,
83 const String& controlPropertyValue,
84 const String& controlPropertyWidget);
118 const String& controlPropertySource,
119 const String& controlPropertyValue,
120 const String& controlPropertyWidget,
372 bool d_usingColourOverride;
373 String d_colourPropertyName;
375 String d_renderControlProperty;
377 String d_renderControlValue;
379 String d_renderControlWidget;
Definition: MemoryAllocatedObject.h:110
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:45
Class that represents a simple 'link' to an ImagerySection.
Definition: SectionSpecification.h:49
void setRenderControlPropertySource(const String &property)
Set the name of the property that controls whether to actually render this section.
void setOverrideColoursPropertySource(const String &property)
Set the name of the property where override colour values can be obtained.
const ColourRect & getOverrideColours() const
Return the current override colours.
SectionSpecification(const String &owner, const String §ionName, const String &controlPropertySource, const String &controlPropertyValue, const String &controlPropertyWidget)
Constructor.
const String & getOverrideColoursPropertySource() const
Get the name of the property where override colour values can be obtained.
const String & getRenderControlPropertySource() const
Get the name of the property that controls whether to actually render this section.
void writeXMLToStream(XMLSerializer &xml_stream) const
Writes an xml representation of this SectionSpecification to out_stream.
const String & getRenderControlValue() const
Get the test value used when determining whether to render this section.
const String & getRenderControlWidget() const
Get the widget what will be used as the source of the property named as the control property.
void setOwnerWidgetLookFeel(const String &owner)
Return the name of the WidgetLookFeel object containing the target section.
bool shouldBeDrawn(const Window &wnd) const
const String & getSectionName() const
Return the name of the target ImagerySection.
bool isUsingOverrideColours() const
return whether the use of override colours is enabled on this SectionSpecification.
void setRenderControlValue(const String &value)
Set the test value used when determining whether to render this section.
void render(Window &srcWindow, const ColourRect *modcols=0, const Rectf *clipper=0, bool clipToDisplay=false) const
Render the section specified by this SectionSpecification.
SectionSpecification(const String &owner, const String §ionName, const String &controlPropertySource, const String &controlPropertyValue, const String &controlPropertyWidget, const ColourRect &cols)
Constructor.
void setOverrideColours(const ColourRect &cols)
Set the override colours to be used by this SectionSpecification.
void initColourRectForOverride(const Window &wnd, ColourRect &cr) const
Helper method to initialise a ColourRect with appropriate values according to the way the section sep...
const String & getOwnerWidgetLookFeel() const
Return the name of the WidgetLookFeel object containing the target section.
void setSectionName(const String &name)
Return the name of the target ImagerySection.
void setUsingOverrideColours(bool setting=true)
Enable or disable the use of override colours for this section.
void setRenderControlWidget(const String &widget)
Set the widget what will be used as the source of the property named as the control property.
void render(Window &srcWindow, const Rectf &baseRect, const ColourRect *modcols=0, const Rectf *clipper=0, bool clipToDisplay=false) const
Render the section specified by this SectionSpecification.
String class used within the GUI system.
Definition: String.h:64
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:151
Class used to create XML Document.
Definition: XMLSerializer.h:87
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1