Main Page | Class Hierarchy | Class List | File List | Class Members

Flu_Progress Class Reference

This class provides a simple progress widget similar to the way Fl_Slider is used for progress, except it is just for progress reporting and displays the progress value inside the widget. More...

#include <Flu_Progress.h>

List of all members.

Public Member Functions

 Flu_Progress (int x, int y, int w, int h, const char *l=0)
 Normal FLTK widget constructor.

 ~Flu_Progress ()
 Default destructor.

int value (float v)
 Override of Fl_Valuator::value() which forces a redraw only if the new value causes the integral percent to change.

float value () const
 Pass-through of Fl_Valuator::value().


Protected Member Functions

void draw ()


Detailed Description

This class provides a simple progress widget similar to the way Fl_Slider is used for progress, except it is just for progress reporting and displays the progress value inside the widget.


Member Function Documentation

int Flu_Progress::value float  v  ) 
 

Override of Fl_Valuator::value() which forces a redraw only if the new value causes the integral percent to change.

Returns:
non-zero if the new value causes a percentage change to the progress


The documentation for this class was generated from the following file:
Generated on Mon Sep 26 07:54:05 2005 for FLTK Utility Library and Widget Collection (FLU) by doxygen 1.3.5