Public Methods |
| | LayoutNode (const std::string &cName, float vWheight=1.0f, LayoutNode *pcParent=NULL, View *pcView=NULL) |
| virtual | ~LayoutNode () |
| virtual void | SetView (View *pcView) |
| virtual void | Layout () |
| virtual void | SetBorders (const Rect &cBorder) |
| virtual Rect | GetBorders () const |
| float | GetWheight () const |
| void | SetWheight (float vWheight) |
| virtual void | SetFrame (const Rect &cFrame) |
| virtual Rect | GetFrame () const |
| virtual Rect | GetBounds () const |
| Rect | GetAbsFrame () const |
| void | ExtendMinSize (const Point &cMinSize) |
| void | LimitMaxSize (const Point &cMaxSize) |
| void | ExtendMaxSize (const Point &cMaxSize) |
| 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) |
| LayoutNode * | AddChild (View *pcChild, float vWheight=1.0f) |
| void | RemoveChild (LayoutNode *pcChild) |
| void | RemoveChild (View *pcChild) |
| std::string | GetName () const |
| const std::vector< LayoutNode *> & | GetChildList () const |
| LayoutNode * | GetParent () const |
| LayoutView * | GetLayoutView () const |
| LayoutNode * | FindNode (const std::string &cName, bool bRequrcive=true, bool bIncludeSelf=false) |
| void | SameWidth (const char *pzName1,...) |
| void | SameHeight (const char *pzName1,...) |
| void | SetBorders (const Rect &cBorders, const char *pzFirstName,...) |
| void | SetWheights (float vWheight, 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) |
Protected Methods |
| virtual Point | CalculatePreferredSize (bool bLargest) |
Friends |
| class | LayoutView |