Inheritance diagram for CEGUI::FalagardComponentBase:
Public Member Functions | |
FalagardComponentBase () | |
Constructor. | |
virtual | ~FalagardComponentBase () |
Destructor. | |
void | render (Window &srcWindow, float base_z, const CEGUI::ColourRect *modColours=0, const Rect *clipper=0, bool clipToDisplay=false) const |
Render this component. More correctly, the component is cached for rendering. | |
void | render (Window &srcWindow, const Rect &baseRect, float base_z, const CEGUI::ColourRect *modColours=0, const Rect *clipper=0, bool clipToDisplay=false) const |
Render this component. More correctly, the component is cached for rendering. | |
const ComponentArea & | getComponentArea () const |
Return the ComponentArea of this ImageryComponent. | |
void | setComponentArea (const ComponentArea &area) |
Set the ImageryComponent's ComponentArea. | |
const ColourRect & | getColours () const |
Return the ColourRect set for use by this ImageryComponent. | |
void | setColours (const ColourRect &cols) |
Set the colours to be used by this ImageryComponent. | |
void | setColoursPropertySource (const String &property) |
Set the name of the property where colour values can be obtained. | |
void | setColoursPropertyIsColourRect (bool setting=true) |
Set whether the colours property source represents a full ColourRect. | |
void | setVertFormattingPropertySource (const String &property) |
Set the name of the property where vertical formatting option can be obtained. | |
void | setHorzFormattingPropertySource (const String &property) |
Set the name of the property where horizontal formatting option can be obtained. | |
Protected Member Functions | |
void | initColoursRect (const Window &wnd, const ColourRect *modCols, ColourRect &cr) const |
Helper method to initialise a ColourRect with appropriate values according to the way the ImageryComponent is set up. | |
virtual void | render_impl (Window &srcWindow, Rect &destRect, float base_z, const CEGUI::ColourRect *modColours, const Rect *clipper, bool clipToDisplay) const =0 |
Method to do main render caching work. | |
bool | writeColoursXML (OutStream &out_stream) const |
Writes xml for the colours to a OutStream. Will prefer property colours before explicit. | |
bool | writeVertFormatXML (OutStream &out_stream) const |
Writes xml for the vertical formatting to a OutStream if such a property is defined. | |
bool | writeHorzFormatXML (OutStream &out_stream) const |
Writes xml for the horizontal formatting to a OutStream if such a property is defined. | |
Protected Attributes | |
ComponentArea | d_area |
Destination area for this component. | |
ColourRect | d_colours |
base colours to be applied when rendering the image component. | |
String | d_colourPropertyName |
name of property to fetch colours from. | |
bool | d_colourProperyIsRect |
true if the colour property will fetch a full ColourRect. | |
String | d_vertFormatPropertyName |
name of property to fetch vertical formatting setting from. | |
String | d_horzFormatPropertyName |
name of property to fetch horizontal formatting setting from. |
|
Return the ColourRect set for use by this ImageryComponent.
|
|
Return the ComponentArea of this ImageryComponent.
|
|
Helper method to initialise a ColourRect with appropriate values according to the way the ImageryComponent is set up. This will try and get values from multiple places:
|
|
Render this component. More correctly, the component is cached for rendering.
|
|
Render this component. More correctly, the component is cached for rendering.
|
|
Set the colours to be used by this ImageryComponent.
|
|
Set whether the colours property source represents a full ColourRect.
|
|
Set the name of the property where colour values can be obtained.
|
|
Set the ImageryComponent's ComponentArea.
|
|
Set the name of the property where horizontal formatting option can be obtained.
|
|
Set the name of the property where vertical formatting option can be obtained.
|
|
Writes xml for the colours to a OutStream. Will prefer property colours before explicit.
|
|
Writes xml for the horizontal formatting to a OutStream if such a property is defined.
|
|
Writes xml for the vertical formatting to a OutStream if such a property is defined.
|