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

fgl::FGProgressBar Class Reference

#include <fastgl.h>

Inheritance diagram for fgl::FGProgressBar:

Inheritance graph
[legend]
Collaboration diagram for fgl::FGProgressBar:

Collaboration graph
[legend]
List of all members.

Detailed Description

When your application performs a time-consuming operation, you can use a progress bar to show how much of the task is completed. A progress bar displays a dotted line that grows from left to right.

progress.png
Examples:

widget.cpp.


Public Member Functions

void draw (void)
void __fastcall setProgress (int a)
int __fastcall progress (void) const
 FGProgressBar (FGWindow *w, int xx, int yy, int ww, int hh, int s)

Protected Attributes

int steps
int value
int sirka


Constructor & Destructor Documentation

fgl::FGProgressBar::FGProgressBar FGWindow w,
int  xx,
int  yy,
int  ww,
int  hh,
int  s
 

Creates a progress bar.

Parameters:
w parent FGWindow
xx x coord
yy y coord
ww width in pixels
hh height in pixels
s step


Member Function Documentation

int __fastcall fgl::FGProgressBar::progress void   )  const [inline]
 

Returns current value of object.

void __fastcall fgl::FGProgressBar::setProgress int  a  )  [inline]
 

Set new value of object in range <0,steps>

Examples:
widget.cpp.


Generated on Wed Feb 9 11:31:44 2005 for OpenGUI by  doxygen 1.4.0