This is a helper class designed to describe the behaviors of a quad when it needs to be repositioned. More...
#include <positioninginfo.h>
Collaboration diagram for Mezzanine::UI::PositioningInfo:Public Member Functions | |
| PositioningInfo () | |
| Class constructor. | |
| PositioningInfo (const UI::PositioningFlags Rules) | |
| PositionFlags constructor. More... | |
| PositioningInfo (const UnifiedVec2 &Position) | |
| Position constructor. More... | |
| PositioningInfo (const UI::PositioningFlags Rules, const UnifiedVec2 &Position) | |
| Descriptive constructor. More... | |
| PositioningInfo (const PositioningInfo &Other) | |
| Copy constructor. More... | |
| ~PositioningInfo () | |
| Class destructor. | |
| bool | operator!= (const PositioningInfo &Other) const |
| Inequality comparison operator. More... | |
| bool | operator== (const PositioningInfo &Other) const |
| Equality comparison operator. More... | |
| void | ProtoDeSerialize (const XML::Node &SelfRoot) |
| Take the data stored in an XML Node and overwrite this object with it. More... | |
| void | ProtoSerialize (XML::Node &ParentNode) const |
| Convert this class to an XML::Node ready for serialization. More... | |
Static Public Member Functions | |
| static String | GetSerializableName () |
| Get the name of the the XML tag the Renderable class will leave behind as its instances are serialized. More... | |
Public Attributes | |
| UI::PositioningFlags | PositionRules |
| Rules for resizing on the X axis. | |
| UnifiedVec2 | UPosition |
| Unified dimensions to be used if the resize rules permits it. | |
This is a helper class designed to describe the behaviors of a quad when it needs to be repositioned.
This struct contains all the information necessary to define complete behavior of positioning child quads within a quad.
Definition at line 56 of file positioninginfo.h.
|
inline |
PositionFlags constructor.
| Rules | The rules for determining the position of the object on a transform update. |
Definition at line 75 of file positioninginfo.h.
|
inline |
Position constructor.
| Position | The unified position to use if the rules permit it. |
Definition at line 79 of file positioninginfo.h.
|
inline |
Descriptive constructor.
| Rules | The rules for determining the position of the object on a transform update. |
| Position | The unified position to use if the rules permit it. |
Definition at line 84 of file positioninginfo.h.
|
inline |
Copy constructor.
| Other | The other PositioningInfo to copy from. |
Definition at line 88 of file positioninginfo.h.
|
inlinestatic |
Get the name of the the XML tag the Renderable class will leave behind as its instances are serialized.
Definition at line 157 of file positioninginfo.h.
|
inline |
Inequality comparison operator.
| Other | The other PositioningInfo to compare to. |
Definition at line 109 of file positioninginfo.h.
|
inline |
Equality comparison operator.
| Other | The other PositioningInfo to compare to. |
Definition at line 102 of file positioninginfo.h.
|
inline |
Take the data stored in an XML Node and overwrite this object with it.
| SelfRoot | An XML::Node containing the data to populate this class with. |
Definition at line 136 of file positioninginfo.h.
|
inline |
Convert this class to an XML::Node ready for serialization.
| ParentNode | The point in the XML hierarchy that all this renderable should be appended to. |
Definition at line 119 of file positioninginfo.h.
1.8.4