Crazy Eddie's GUI System
0.8.4
|
Class that encapsulates a single layer of imagery. More...
Public Types | |
typedef ConstVectorIterator < SectionList > | SectionIterator |
Public Member Functions | |
LayerSpecification (uint priority=0) | |
Constructor. More... | |
void | render (Window &srcWindow, const ColourRect *modcols=0, const Rectf *clipper=0, bool clipToDisplay=false) const |
Render this layer. More... | |
void | render (Window &srcWindow, const Rectf &baseRect, const ColourRect *modcols=0, const Rectf *clipper=0, bool clipToDisplay=false) const |
Render this layer. More... | |
void | addSectionSpecification (const SectionSpecification §ion) |
Add a section specification to the layer. More... | |
void | clearSectionSpecifications () |
Clear all section specifications from this layer,. More... | |
uint | getLayerPriority () const |
Return the priority of this layer. More... | |
void | setLayerPriority (uint priority) |
Sets the priority of this layer. More... | |
bool | operator< (const LayerSpecification &other) const |
void | writeXMLToStream (XMLSerializer &xml_stream) const |
Writes an xml representation of this Layer to out_stream. More... | |
SectionIterator | getSectionIterator () const |
Class that encapsulates a single layer of imagery.
CEGUI::LayerSpecification::LayerSpecification | ( | uint | priority = 0 | ) |
Constructor.
priority | Specifies the priority of the layer. Layers with higher priorities will be drawn on top of layers with lower priorities. |
void CEGUI::LayerSpecification::addSectionSpecification | ( | const SectionSpecification & | section | ) |
Add a section specification to the layer.
A section specification is a reference to a named ImagerySection within the WidgetLook.
section | SectionSpecification object descibing the section that should be added to this layer. |
void CEGUI::LayerSpecification::clearSectionSpecifications | ( | ) |
Clear all section specifications from this layer,.
uint CEGUI::LayerSpecification::getLayerPriority | ( | ) | const |
Return the priority of this layer.
void CEGUI::LayerSpecification::render | ( | Window & | srcWindow, |
const ColourRect * | modcols = 0 , |
||
const Rectf * | clipper = 0 , |
||
bool | clipToDisplay = false |
||
) | const |
void CEGUI::LayerSpecification::render | ( | Window & | srcWindow, |
const Rectf & | baseRect, | ||
const ColourRect * | modcols = 0 , |
||
const Rectf * | clipper = 0 , |
||
bool | clipToDisplay = false |
||
) | const |
void CEGUI::LayerSpecification::setLayerPriority | ( | uint | priority | ) |
Sets the priority of this layer.
void CEGUI::LayerSpecification::writeXMLToStream | ( | XMLSerializer & | xml_stream | ) | const |
Writes an xml representation of this Layer to out_stream.
xml_stream | Stream where xml data should be output. |