41 #ifndef _uilinearcontainer_h
42 #define _uilinearcontainer_h
44 #include "UI/pagedcontainer.h"
50 class LinearContainerLayoutStrategy;
101 virtual void SetChildSizing(
const SizingInfo& ForcedSize,
const Whole Enforcement);
105 virtual void SetChildSize(
const SizingInfo& ForcedSize);
108 virtual const SizingInfo& GetChildSize()
const;
111 virtual void SetChildSizeEnforcement(
const Whole Enforcement);
114 virtual Whole GetChildSizeEnforcement()
const;
119 virtual void SetPadding(
const UnifiedDim& Padding);
135 virtual void AddChild(
Widget* Child);
137 virtual void AddChild(
Widget* Child,
const UInt16 ZOrder);
143 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
145 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
148 static String GetSerializableName();
This is the base class for containers that have a render area and work area of different sizes...
UnifiedDim LinearPadding
The amount of space to add to both sides of a child object on the relevant axis.
SizeEnforcement
This enum is used to determine if and when a child should be forced to a specific size for this conta...
This is a helper class designed to describe the behaviors of a quad when it needs to be resized...
LinearAlignment
Used by various UI classes to determine the alignment of their child objects, such as text in text li...
This class represents a 2D rect which can express the size and position of a renderable on screen...
uint16_t UInt16
An 16-bit unsigned integer.
A light-weight handle for manipulating nodes in DOM tree.
Whole ForcedSizingRules
The current enforcement for child size in this container.
SizingInfo ChildSizing
The size given to children layed out by this container.
This class represents both the relative and absolute values that can be expressed for the values on o...
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.
UI::LinearAlignment VisibleChildAlign
The alignment to be given to the sequence of children visible in this container.
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.
This is a container class for placing child objects in succession on a single axis.