Crazy Eddies GUI System  0.7.2
Public Member Functions | Public Attributes | List of all members
CEGUI::UBox Class Reference

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

+ 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 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'