Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

wftk::ProgressBar Class Reference

Simple widget that paints a progress meter. More...

#include <progressdialog.h>

Inheritance diagram for wftk::ProgressBar:

wftk::Widget wftk::ScreenArea List of all members.

Public Member Functions

 ProgressBar ()
 Create a progress bar.
void setValue (Uint8 data)
 set the percent value of the progress bar

Protected Member Functions

virtual void handleResize (Uint16 w, Uint16 h)
 Calculate new shape for shaped widgets, call to setShape() after a resize.
virtual void setPackingInfo ()
 recalculate the object's prefered size

Detailed Description

Simple widget that paints a progress meter.


Constructor & Destructor Documentation

wftk::ProgressBar::ProgressBar  )  [inline]
 

Create a progress bar.

when starting, it's at 0%. Makes sense, right?


Member Function Documentation

void wftk::ProgressBar::setValue Uint8  data  ) 
 

set the percent value of the progress bar

checks the value to make sure it's not bigger than 100 (we don't want to look silly like openoffice install, right?)


The documentation for this class was generated from the following files:

Generated Tue Aug 9 18:40:26 2005.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.