Collaboration diagram for CEGUI::ImagerySection:
Public Member Functions | |
ImagerySection () | |
Constructor. | |
ImagerySection (const String &name) | |
ImagerySection constructor. Name must be supplied, masterColours are set to 0xFFFFFFFF by default. | |
void | render (Window &srcWindow, float base_z, const CEGUI::ColourRect *modColours=0, const Rect *clipper=0, bool clipToDisplay=false) const |
Render the ImagerySection. | |
void | render (Window &srcWindow, const Rect &baseRect, float base_z, const CEGUI::ColourRect *modColours=0, const Rect *clipper=0, bool clipToDisplay=false) const |
Render the ImagerySection. | |
void | addImageryComponent (const ImageryComponent &img) |
Add an ImageryComponent to this ImagerySection. | |
void | clearImageryComponents () |
Clear all ImageryComponents from this ImagerySection. | |
void | addTextComponent (const TextComponent &text) |
Add a TextComponent to this ImagerySection. | |
void | clearTextComponents () |
Clear all TextComponents from this ImagerySection. | |
void | clearFrameComponents () |
Clear all FrameComponents from this ImagerySection. | |
void | addFrameComponent (const FrameComponent &frame) |
Add a FrameComponent to this ImagerySection. | |
const ColourRect & | getMasterColours () const |
Return the current master colours set for this ImagerySection. | |
void | setMasterColours (const ColourRect &cols) |
Set the master colours to be used for this ImagerySection. | |
const String & | getName () const |
Return the name of this ImagerySection. | |
void | setMasterColoursPropertySource (const String &property) |
Set the name of the property where master colour values can be obtained. | |
void | setMasterColoursPropertyIsColourRect (bool setting=true) |
Set whether the master colours property source represents a full ColourRect. | |
Rect | getBoundingRect (const Window &wnd) const |
Return smallest Rect that could contain all imagery within this section. | |
Rect | getBoundingRect (const Window &wnd, const Rect &rect) const |
Return smallest Rect that could contain all imagery within this section. | |
void | writeXMLToStream (OutStream &out_stream) const |
Writes an xml representation of this ImagerySection to out_stream. | |
Protected Member Functions | |
void | initMasterColourRect (const Window &wnd, ColourRect &cr) const |
Helper method to initialise a ColourRect with appropriate values according to the way the ImagerySection is set up. |
|
ImagerySection constructor. Name must be supplied, masterColours are set to 0xFFFFFFFF by default.
|
|
Add a FrameComponent to this ImagerySection.
|
|
Add an ImageryComponent to this ImagerySection.
|
|
Add a TextComponent to this ImagerySection.
|
|
Clear all FrameComponents from this ImagerySection.
|
|
Clear all ImageryComponents from this ImagerySection.
|
|
Clear all TextComponents from this ImagerySection.
|
|
Return the current master colours set for this ImagerySection.
|
|
Return the name of this ImagerySection.
|
|
Helper method to initialise a ColourRect with appropriate values according to the way the ImagerySection is set up. This will try and get values from multiple places:
|
|
Render the ImagerySection.
|
|
Render the ImagerySection.
|
|
Set the master colours to be used for this ImagerySection.
|
|
Set whether the master colours property source represents a full ColourRect.
|
|
Set the name of the property where master colour values can be obtained.
|
|
Writes an xml representation of this ImagerySection to out_stream.
|