ProgressBar Namespace Reference


Classes

class  Private
 internal More...

Functions

 ProgressBar (const Rect &cFrame, const String &cName, orientation eOrientation, uint32 nResizeMask, uint32 nFlags)
 
Description:
The os::ProgressBar's Constructor.

 ~ProgressBar ()
void SetProgress (float vValue)
 
Description:
SetProgress sets current progress.

float GetProgress () const
 
Description:
GetProgress gets current progress.

void AttachedToWindow ()
void Paint (const Rect &cUpdateRect)
Point GetPreferredSize (bool bLargest) const
void FrameSized (const Point &cDelta)
void __PB_reserved1__ ()
void __PB_reserved2__ ()
void __PB_reserved3__ ()
void __PB_reserved4__ ()
void __PB_reserved5__ ()


Function Documentation

void ProgressBar::__PB_reserved1__ (  ) 

void ProgressBar::__PB_reserved2__ (  ) 

void ProgressBar::__PB_reserved3__ (  ) 

void ProgressBar::__PB_reserved4__ (  ) 

void ProgressBar::__PB_reserved5__ (  ) 

void ProgressBar::AttachedToWindow (  ) 

void ProgressBar::FrameSized ( const Point cDelta  ) 

Point ProgressBar::GetPreferredSize ( bool  bLargest  )  const

float ProgressBar::GetProgress (  )  const

Parameters:
vValue - float to the current progress value (should be a num between 0 and 1 inclusive)
See also:
SetProgress()
Author:
Kurt Skauen

void ProgressBar::Paint ( const Rect cUpdateRect  ) 

ProgressBar::ProgressBar ( const Rect cFrame,
const String cName,
orientation  eOrientation,
uint32  nResizeMask,
uint32  nFlags 
)

Parameters:
cFrame - The size and position of the os::ProgressBar
cName - The name of the os::ProgressBar.
nOrientation - The position of the ScrollBar(use os::VERTICAL or os::HORIZONTAL)
nResizeMask - Determines what way the ScrollBar will follow the rest of the window. Default is CF_FOLLOW_LEFT|CF_FOLLOW_TOP.
nFlags - Default is WID_WILL_DRAW | WID_CLEAR_BACKGROUND
Author:
Kurt Skauen

void ProgressBar::SetProgress ( float  vValue  ) 

This number should be between 0 and 1 inclusive

Parameters:
vValue - float to the current progress value. Should be a value between 0 and 1 inclusive
See also:
GetProgress()
Author:
Kurt Skauen

ProgressBar::~ProgressBar (  ) 


Generated on Sat May 9 22:52:01 2009 for Syllable higlevel API by  doxygen 1.5.1