Class that encapsulates a single layer of imagery.
More...
List of all members.
Detailed Description
Class that encapsulates a single layer of imagery.
Constructor & Destructor Documentation
CEGUI::LayerSpecification::LayerSpecification |
( |
uint |
priority |
) |
|
Constructor.
- Parameters:
-
| priority | Specifies the priority of the layer. Layers with higher priorities will be drawn on top of layers with lower priorities. |
Member Function Documentation
Add a section specification to the layer.
A section specification is a reference to a named ImagerySection within the WidgetLook.
- Parameters:
-
- Returns:
- Nothing,
void CEGUI::LayerSpecification::clearSectionSpecifications |
( |
|
) |
|
Clear all section specifications from this layer,.
- Returns:
- Nothing.
uint CEGUI::LayerSpecification::getLayerPriority |
( |
|
) |
const |
Return the priority of this layer.
- Returns:
- uint value descibing the priority of this LayerSpecification.
void CEGUI::LayerSpecification::render |
( |
Window & |
srcWindow, |
|
|
const Rect & |
baseRect, |
|
|
const ColourRect * |
modcols = 0 , |
|
|
const Rect * |
clipper = 0 , |
|
|
bool |
clipToDisplay = false | |
|
) |
| | const |
Render this layer.
- Parameters:
-
| srcWindow | Window to use when calculating pixel values from BaseDim values. |
| baseRect | Rect to use when calculating pixel values from BaseDim values. |
- Returns:
- Nothing.
void CEGUI::LayerSpecification::render |
( |
Window & |
srcWindow, |
|
|
const ColourRect * |
modcols = 0 , |
|
|
const Rect * |
clipper = 0 , |
|
|
bool |
clipToDisplay = false | |
|
) |
| | const |
Render this layer.
- Parameters:
-
| srcWindow | Window to use when calculating pixel values from BaseDim values. |
- Returns:
- Nothing.
void CEGUI::LayerSpecification::writeXMLToStream |
( |
XMLSerializer & |
xml_stream |
) |
const |
Writes an xml representation of this Layer to out_stream.
- Parameters:
-
| xml_stream | Stream where xml data should be output. |
- Returns:
- Nothing.