Crazy Eddie's GUI System  0.8.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::UBox Class Reference

Class encapsulating the 'Unified Box' - this is usually used for margin. More...

+ Inheritance diagram for CEGUI::UBox:
+ Collaboration diagram for CEGUI::UBox:

Public Member Functions

 UBox (const UDim &margin)
 
 UBox (const UDim &top, const UDim &left, const UDim &bottom, const UDim &right)
 
 UBox (const UBox &b)
 
bool operator== (const UBox &rhs) const
 
bool operator!= (const UBox &rhs) const
 
UBoxoperator= (const UBox &rhs)
 
UBox operator* (const float val) const
 
UBox operator* (const UDim &dim) const
 
UBox operator+ (const UBox &b) const
 

Public Attributes

UDim d_top
 
UDim d_left
 
UDim d_bottom
 
UDim d_right
 

Detailed Description

Class encapsulating the 'Unified Box' - this is usually used for margin.

top, left, right and bottom represent offsets on each edge
Note
Name taken from W3 'box model'