Inheritance diagram for os::LayoutView:
Public Member Functions | |
LayoutView (const Rect &cFrame, const String &cTitle, LayoutNode *pcRoot=NULL, uint32 nResizeMask=CF_FOLLOW_ALL, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND) | |
virtual | ~LayoutView () |
LayoutNode * | GetRoot () const |
Get root layout. | |
void | SetRoot (LayoutNode *pcRoot) |
Set root layout. | |
LayoutNode * | FindNode (const String &cName, bool bRecursive=true) |
Find node by name. | |
void | InvalidateLayout () |
Recalculate layout. | |
virtual Point | GetPreferredSize (bool bLargest) const |
virtual void | AllAttached () |
virtual void | FrameSized (const Point &cDelta) |
Virtual hook called by the system when the view is resized. | |
Classes | |
class | Private |
LayoutView::LayoutView | ( | const Rect & | cFrame, | |
const String & | cTitle, | |||
LayoutNode * | pcRoot = NULL , |
|||
uint32 | nResizeMask = CF_FOLLOW_ALL , |
|||
uint32 | nFlags = WID_WILL_DRAW|WID_CLEAR_BACKGROUND | |||
) |
LayoutView::~LayoutView | ( | ) | [virtual] |
LayoutNode * LayoutView::GetRoot | ( | ) | const |
void LayoutView::SetRoot | ( | LayoutNode * | pcRoot | ) |
pcRoot | Pointer to root layout node. |
LayoutNode * LayoutView::FindNode | ( | const String & | cName, | |
bool | bRecursive = true | |||
) |
cName | The name of the searched node. | |
cRecursive | Set to true if you want to look at the root node's subnodes. |
void LayoutView::InvalidateLayout | ( | ) |
Point LayoutView::GetPreferredSize | ( | bool | bLargest | ) | const [virtual] |
void LayoutView::AllAttached | ( | ) | [virtual] |
Reimplemented from os::View.
void LayoutView::FrameSized | ( | const Point & | cDelta | ) | [virtual] |
cDelta
calue from the current size. cDelta | The distance the bottom/right corner was moved relative to the upper/left corner. |
Reimplemented from os::View.
Reimplemented in os::FrameView.