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

os::ProgressBar Class Reference

#include <progressbar.h>

Inheritance diagram for os::ProgressBar:

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

Public Methods

 ProgressBar (const Rect &cFrame, const std::string &cTitle, orientation eOrientation=HORIZONTAL, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND)
void SetProgress (float vValue)
float GetProgress () const
virtual Point GetPreferredSize (bool bLargest) const
virtual void AttachedToWindow ()
virtual void Paint (const Rect &cUpdateRect)
 Called by the system update "damaged" areas of the view. More...

virtual void FrameSized (const Point &cDelta)

Detailed Description

Description:
See also:
Author(s):
Kurt Skauen (kurt@atheos.cx)


Constructor & Destructor Documentation

ProgressBar::ProgressBar ( const Rect & cFrame,
const std::string & cTitle,
orientation eOrientation = HORIZONTAL,
uint32 nResizeMask = CF_FOLLOW_LEFT | CF_FOLLOW_TOP,
uint32 nFlags = WID_WILL_DRAW | WID_CLEAR_BACKGROUND )
 


Member Function Documentation

void ProgressBar::AttachedToWindow ( void ) [virtual]
 

Reimplemented from os::View.

void ProgressBar::FrameSized ( const Point & cDelta ) [virtual]
 

Reimplemented from os::View.

Point ProgressBar::GetPreferredSize ( bool bLargest ) const [virtual]
 

Reimplemented from os::View.

float ProgressBar::GetProgress ( ) const
 

void ProgressBar::Paint ( const Rect & cUpdateRect ) [virtual]
 

Called by the system update "damaged" areas of the view.

Description:
Note:
Warning:
Parameters:
cUpdateRect   A rectangle enclosing all damaged areas. This is just a rough "worst-case", further fine-grained clipping will be performed by the Application Server to avoid updating non-damaged pixels and make the update as fast and flicker-free as possible.

See also:
Invalidate(), Flush()
Author(s):
Kurt Skauen (kurt@atheos.cx)

Reimplemented from os::View.

void ProgressBar::SetProgress ( float vValue )
 


The documentation for this class was generated from the following files:
Generated at Sat Apr 7 16:11:38 2001 for AtheOS higlevel API by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001