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 Whole HRules, const Whole VRules) | |
| PositionFlags constructor. More... | |
| PositioningInfo (const UnifiedVec2 &Position) | |
| Position constructor. More... | |
| PositioningInfo (const Whole HRules, const Whole VRules, const UnifiedVec2 &Position) | |
| Descriptive constructor. More... | |
| PositioningInfo (const PositioningInfo &Other) | |
| Copy constructor. More... | |
| ~PositioningInfo () | |
| Class destructor. | |
| Boole | operator!= (const PositioningInfo &Other) const |
| Inequality comparison operator. More... | |
| Boole | 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 | |
| Whole | HorizontalRules |
| Rules for determining the position of a quad on the X axis. | |
| UnifiedVec2 | UPosition |
| Unified dimensions to be used if the resize rules permits it. | |
| Whole | VerticalRules |
| Rules for determining the position of a quad on the Y axis. | |
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.
PositionFlags constructor.
| HRules | The rules for determining the position of an object on the X axis during a transform update. |
| VRules | The rules for determining the position of an object on the Y axis during a transform update. |
Definition at line 78 of file positioninginfo.h.
|
inline |
Position constructor.
| Position | The unified position to use if the rules permit it. |
Definition at line 82 of file positioninginfo.h.
|
inline |
Descriptive constructor.
| HRules | The rules for determining the position of an object on the X axis during a transform update. |
| VRules | The rules for determining the position of an object on the Y axis during a transform update. |
| Position | The unified position to use if the rules permit it. |
Definition at line 88 of file positioninginfo.h.
|
inline |
Copy constructor.
| Other | The other PositioningInfo to copy from. |
Definition at line 92 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 162 of file positioninginfo.h.
|
inline |
Inequality comparison operator.
| Other | The other PositioningInfo to compare to. |
Definition at line 111 of file positioninginfo.h.
|
inline |
Equality comparison operator.
| Other | The other PositioningInfo to compare to. |
Definition at line 106 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 137 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.9.1. Thanks to the
Open Icon Library
for help with some of the icons.