00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _Fl_Progress_H_
00023 # define _Fl_Progress_H_
00024
00025
00026
00027
00028
00029 #include "Fl_Widget.H"
00030
00031
00032
00033
00034
00038 class FL_EXPORT Fl_Progress : public Fl_Widget {
00039
00040 float value_,
00041 minimum_,
00042 maximum_;
00043
00044 protected:
00045
00046 virtual void draw();
00047
00048 public:
00049
00050 Fl_Progress(int x, int y, int w, int h, const char *l = 0);
00051
00053 void maximum(float v) { maximum_ = v; redraw(); }
00055 float maximum() const { return (maximum_); }
00056
00058 void minimum(float v) { minimum_ = v; redraw(); }
00060 float minimum() const { return (minimum_); }
00061
00063 void value(float v) { value_ = v; redraw(); }
00065 float value() const { return (value_); }
00066 };
00067
00068 #endif // !_Fl_Progress_H_
00069
00070
00071
00072