Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::LayoutView Class Reference

Main class in the AtheOS dynamic layout system. More...

#include <layoutview.h>

Inheritance diagram for os::LayoutView::

os::View os::Handler os::FrameView List of all members.

Public Methods

 LayoutView (const Rect &cFrame, const std::string &cTitle, LayoutNode *pcRoot=NULL, uint32 nResizeMask=CF_FOLLOW_ALL, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND)
LayoutNodeGetRoot () const
void SetRoot (LayoutNode *pcRoot)
LayoutNodeFindNode (const std::string &cName, bool bRequrcive=true)
void InvalidateLayout ()
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. More...


Detailed Description

Description:
See also:
Author:
Kurt Skauen ([email protected])


Constructor & Destructor Documentation

LayoutView::LayoutView const Rect & cFrame,
const std::string & cTitle,
LayoutNode * pcRoot = NULL,
uint32 nResizeMask = CF_FOLLOW_ALL,
uint32 nFlags = WID_WILL_DRAW | WID_CLEAR_BACKGROUND
 


Member Function Documentation

void LayoutView::AllAttached void [virtual]
 

Reimplemented from os::View.

LayoutNode * LayoutView::FindNode const std::string & cName,
bool bRequrcive = true
 

void LayoutView::FrameSized const Point & cDelta [virtual]
 

Description:
Overload this member if you need to know when the view is resized.
Note:
This member is called after the view is resized. If you need the old size you can subtract the cDelta calue from the current size.
Parameters:
cDelta   The distance the bottom/right corner was moved relative to the upper/left corner.
See also:
FrameMoved(), SetFrame, ResizeBy(), ResizeTo()
Author:
Kurt Skauen ([email protected])

Reimplemented from os::View.

Reimplemented in os::FrameView.

Point LayoutView::GetPreferredSize bool bLargest const [virtual]
 

Reimplemented from os::View.

Reimplemented in os::FrameView.

LayoutNode * LayoutView::GetRoot const
 

void LayoutView::InvalidateLayout
 

void LayoutView::SetRoot LayoutNode * pcRoot
 


Generated at Tue Sep 11 15:27:49 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001