Classes | |
class | Private |
internal More... | |
Functions | |
ProgressBar (const Rect &cFrame, const String &cName, orientation eOrientation, uint32 nResizeMask, uint32 nFlags) | |
| |
~ProgressBar () | |
void | SetProgress (float vValue) |
| |
float | GetProgress () const |
| |
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__ () |
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 |
vValue | - float to the current progress value (should be a num between 0 and 1 inclusive) |
void ProgressBar::Paint | ( | const Rect & | cUpdateRect | ) |
ProgressBar::ProgressBar | ( | const Rect & | cFrame, | |
const String & | cName, | |||
orientation | eOrientation, | |||
uint32 | nResizeMask, | |||
uint32 | nFlags | |||
) |
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 |
void ProgressBar::SetProgress | ( | float | vValue | ) |
This number should be between 0 and 1 inclusive
vValue | - float to the current progress value. Should be a value between 0 and 1 inclusive |
ProgressBar::~ProgressBar | ( | ) |