Crazy Eddie's GUI System
0.8.7
|
27 #ifndef _CEGUIFalStateImagery_h_
28 #define _CEGUIFalStateImagery_h_
30 #include "./LayerSpecification.h"
31 #include "../Window.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
59 d_clipToDisplay(false)
207 typedef std::multiset<LayerSpecification> LayersList;
211 bool d_clipToDisplay;
224 #if defined(_MSC_VER)
225 # pragma warning(pop)
228 #endif // end of guard _CEGUIFalStateImagery_h_
void clearLayers()
Removed all LayerSpecifications from this state.
bool isClippedToDisplay() const
Return whether this state imagery should be clipped to the display rather than the target window.
void addLayer(const LayerSpecification &layer)
Add an imagery LayerSpecification to this state.
ConstVectorIterator< LayersList > LayerIterator
Definition: StateImagery.h:214
void setName(const String &name)
Set 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 sort()
Sorts the LayerSpecifications after their priority. Whenever a LayerSpecification,...
Class that encapsulates a single layer of imagery.
Definition: LayerSpecification.h:47
LayerSpecificationPointerList getLayerSpecificationPointers()
Returns a vector of pointers to the LayerSpecifications that are currently added to this StateImagery...
Class used to create XML Document.
Definition: XMLSerializer.h:87
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Class the encapsulates imagery for a given widget state.
Definition: StateImagery.h:48
Definition: MemoryAllocatedObject.h:110
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:45
StateImagery(const String &name)
Constructor.
void writeXMLToStream(XMLSerializer &xml_stream) const
Writes an xml representation of this StateImagery to out_stream.
iterator for vectors
Definition: IteratorBase.h:288
void render(Window &srcWindow, const ColourRect *modcols=0, const Rectf *clipper=0) const
Render imagery for this state.
const String & getName() const
Return the name of this state.
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:151
std::vector< LayerSpecification *CEGUI_VECTOR_ALLOC(LayerSpecification *)> LayerSpecificationPointerList
Container type for LayerSpecification pointers.
Definition: StateImagery.h:52
void setClippedToDisplay(bool setting)
Set whether this state imagery should be clipped to the display rather than the target window.
String class used within the GUI system.
Definition: String.h:64
LayerIterator getLayerIterator() const
StateImagery()
Constructor.
Definition: StateImagery.h:58