41 #ifndef _uirenderlayer_h
42 #define _uirenderlayer_h
44 #include "UI/quadrenderer.h"
46 #include "UI/uienumerations.h"
79 virtual void RotationTransform(
Vector2& Point,
const Vector2& RotationCenter);
100 virtual void RotationTransform(
Vector2* RotRect);
105 virtual void RotationTransform(
Vector2* RotRect,
const Vector2& RotationCenter);
122 virtual Whole GetIndex()
const;
127 virtual void NotifyActive();
132 virtual void NotifyInactive();
136 virtual Rect GetAreaRect()
const;
139 virtual void SetScale(
const Vector2& Scaling);
142 virtual Vector2 GetScale()
const;
146 virtual Boole IsLineLayer()
const;
149 virtual Boole IsImageLayer()
const;
152 virtual Boole IsSingleImageLayer()
const;
155 virtual Boole IsMultiImageLayer()
const;
158 virtual Boole IsTextLayer()
const;
161 virtual Boole IsSingleLineTextLayer()
const;
164 virtual Boole IsMultiLineTextLayer()
const;
171 virtual void SetRotationDegrees(
const Real& Degrees);
174 virtual void SetRotationRadians(
const Real& Radians);
177 virtual Real GetRotationDegrees()
const;
180 virtual Real GetRotationRadians()
const;
190 virtual Screen* GetScreen()
const;
196 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
198 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
201 virtual String GetDerivedSerializableName()
const;
203 static String GetSerializableName();
209 virtual void _MarkDirty();
213 virtual void _UpdateIndex(
const Whole Index);
bool Boole
Generally acts a single bit, true or false.
QuadRenderable * Parent
A pointer to the parent of this RenderLayer.
This class represents a box shaped area on the screen.
float Real
A Datatype used to represent a real floating point number.
Vector2 Scale
The scaling applied to this RenderLayer.
A light-weight handle for manipulating nodes in DOM tree.
This is used to represent a point on a 2 dimentional area, such as a screen.
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.
This represents a nestable quad for an object in a GUI layout.
This class is a helper class for creating UI's. It is responsible for storing and keeping track of al...
std::string String
A datatype used to a series of characters.
Whole IndexID
Stores the index of this RenderLayer in it's parent QuadRenderable.
This is the base class for the types of layers that can be added to a renderable. ...
Real RotAngle
The amount of rotation to be applied to this RenderLayer in radians.