41 #ifndef _uimultiimagelayer_h
42 #define _uimultiimagelayer_h
44 #include "UI/imagelayer.h"
45 #include "UI/unifieddim.h"
81 void ProtoSerialize(XML::Node& ParentNode) const;
84 void ProtoDeSerialize(const XML::Node& SelfRoot);
87 static String GetSerializableName();// */
109 virtual void RedrawImpl(
Boole Force);
128 virtual void ReserveMultiImageData(
const Whole NumImages);
139 virtual Whole GetNumMultiImageData()
const;
155 virtual void SetImagePosition(
const Whole Index,
const UnifiedVec2& Position);
186 virtual Boole IsCompletelyTransparent(
const Whole Index)
const;
191 virtual void SetSprite(
const Whole Index,
Sprite* NewSprite);
195 virtual void SetSprite(
const Whole Index,
const String& SpriteName);
200 virtual void SetSprite(
const Whole Index,
const String& SpriteName,
const String& Atlas);
213 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
215 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
218 virtual String GetDerivedSerializableName()
const;
220 static String GetSerializableName();
bool Boole
Generally acts a single bit, true or false.
std::vector< MultiImageData > ImageDataContainer
Container type for the image metadata storage in this class.
ImageDataContainer::iterator ImageDataIterator
Iterator type for image metadata being stored by this class.
QuadCorner
Used by Sprites and Glyphs for tracking their placement on a TextureAtlas.
This is an image layer that supports rendering of multiple images within it's space.
This is a simple class for holding 4 reals representing the colour any give object or lightsource can...
This class represents a 2D rect which can express the size and position of a renderable on screen...
A light-weight handle for manipulating nodes in DOM tree.
Gradient
Used by various basic renderables for applying a gradient effect to a colour or texture on a quad...
This layer is for placing images and basic colours in it's parents' quad space.
RenderLayerType
This enum describes the type of RenderLayer this is for use in casting.
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
ImageDataContainer LayerImages
Container storing all of the images/sprites that will be rendered by this layer.
This class represents a point in 2D space using UnifiedDim's.
ImageDataContainer::const_iterator ConstImageDataIterator
ConstIterator type for image metadata being stored by this class.
UnifiedRect FillRect
The rect describing the size and position for the sprite to be rendered.
Sprite * LayerSprite
A pointer to the sprite to be rendered.
This represents a nestable quad for an object in a GUI layout.
Basic class used to describe a portion of a texture to be applied to a Quad.
std::string String
A datatype used to a series of characters.
This is an image layer that supports rendering of multiple images within it's space.