Pyro higlevel API
Public Member Functions | List of all members
os::HLayoutSpacer Class Reference

Horizontal layout spacer. More...

Inheritance diagram for os::HLayoutSpacer:
os::LayoutSpacer os::LayoutNode

Public Member Functions

 HLayoutSpacer (const String &cName, float vMinWidth=0.0f, float vMaxWidth=MAX_SIZE, LayoutNode *pcParent=NULL, float vWeight=1.0f)
 
- Public Member Functions inherited from os::LayoutSpacer
 LayoutSpacer (const String &cName, float vWeight=1.0f, LayoutNode *pcParent=NULL, const Point &cMinSize=Point(0.0f, 0.0f), const Point &cMaxSize=Point(MAX_SIZE, MAX_SIZE))
 
void SetMinSize (const Point &cSize)
 
void SetMaxSize (const Point &cSize)
 
Point GetMinSize () const
 
Point GetMaxSize () const
 
- Public Member Functions inherited from os::LayoutNode
 LayoutNode (const String &cName, float vWeight=1.0f, LayoutNode *pcParent=NULL, View *pcView=NULL)
 
virtual ~LayoutNode ()
 
virtual void SetView (View *pcView)
 
ViewGetView () const
 
virtual void Layout ()
 
virtual void SetBorders (const Rect &cBorder)
 
virtual Rect GetBorders () const
 
void ExtendMinSize (const Point &cMinSize)
 
void LimitMaxSize (const Point &cMaxSize)
 
void ExtendMaxSize (const Point &cMaxSize)
 
float GetWeight () const
 
void SetWeight (float vWeight)
 
virtual void SetFrame (const Rect &cFrame)
 
virtual Rect GetFrame () const
 
virtual Rect GetBounds () const
 
Rect GetAbsFrame () const
 
void SetHAlignment (alignment eAlignment)
 
void SetVAlignment (alignment eAlignment)
 
alignment GetHAlignment () const
 
alignment GetVAlignment () const
 
void AdjustPrefSize (Point *pcMinSize, Point *pcMaxSize)
 
virtual Point GetPreferredSize (bool bLargest)
 
void AddChild (LayoutNode *pcChild)
 
LayoutNodeAddChild (View *pcChild, float vWeight=1.0f)
 
void RemoveChild (LayoutNode *pcChild)
 
void RemoveChild (View *pcChild)
 
String GetName () const
 
const std::vector< LayoutNode * > & GetChildList () const
 
LayoutNodeGetParent () const
 
LayoutViewGetLayoutView () const
 
LayoutNodeFindNode (const String &cName, bool bRecursive=true, bool bIncludeSelf=false)
 
void SameWidth (const char *pzName1,...)
 
void SameHeight (const char *pzName1,...)
 
void SetBorders (const Rect &cBorders, const char *pzFirstName,...)
 
void SetWeights (float vWeight, const char *pzFirstName,...)
 
void SetHAlignments (alignment eAlign, const char *pzFirstName,...)
 
void SetVAlignments (alignment eAlign, const char *pzFirstName,...)
 
void AddToWidthRing (LayoutNode *pcRing)
 
void AddToHeightRing (LayoutNode *pcRing)
 

Detailed Description

Description:
Creates a blank space in a horizontal layout.
See Also
Author
Kurt Skauen (kurt@.nosp@m.athe.nosp@m.os.cx)

Constructor & Destructor Documentation

os::HLayoutSpacer::HLayoutSpacer ( const String cName,
float  vMinWidth = 0.0f,
float  vMaxWidth = MAX_SIZE,
LayoutNode pcParent = NULL,
float  vWeight = 1.0f 
)
inline