27#ifndef _CEGUIFalStateImagery_h_
28#define _CEGUIFalStateImagery_h_
30#include "./LayerSpecification.h"
36# pragma warning(disable : 4251)
59 d_clipToDisplay(false)
207 typedef std::multiset<LayerSpecification> LayersList;
211 bool d_clipToDisplay;
Definition: MemoryAllocatedObject.h:110
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:45
iterator for vectors
Definition: IteratorBase.h:288
Class that encapsulates a single layer of imagery.
Definition: LayerSpecification.h:47
Class the encapsulates imagery for a given widget state.
Definition: StateImagery.h:48
LayerIterator getLayerIterator() const
void sort()
Sorts the LayerSpecifications after their priority. Whenever a LayerSpecification,...
std::vector< LayerSpecification *CEGUI_VECTOR_ALLOC(LayerSpecification *)> LayerSpecificationPointerList
Container type for LayerSpecification pointers.
Definition: StateImagery.h:52
void render(Window &srcWindow, const ColourRect *modcols=0, const Rectf *clipper=0) const
Render imagery for this state.
void setClippedToDisplay(bool setting)
Set whether this state imagery should be clipped to the display rather than the target window.
LayerSpecificationPointerList getLayerSpecificationPointers()
Returns a vector of pointers to the LayerSpecifications that are currently added to this StateImagery...
void writeXMLToStream(XMLSerializer &xml_stream) const
Writes an xml representation of this StateImagery to out_stream.
StateImagery(const String &name)
Constructor.
bool isClippedToDisplay() const
Return whether this state imagery should be clipped to the display rather than the target window.
ConstVectorIterator< LayersList > LayerIterator
Definition: StateImagery.h:214
const String & getName() const
Return the name of this state.
void render(Window &srcWindow, const Rectf &baseRect, const ColourRect *modcols=0, const Rectf *clipper=0) const
Render imagery for this state.
void setName(const String &name)
Set the name of this state.
void addLayer(const LayerSpecification &layer)
Add an imagery LayerSpecification to this state.
void clearLayers()
Removed all LayerSpecifications from this state.
StateImagery()
Constructor.
Definition: StateImagery.h:58
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