diff options
Diffstat (limited to 'FL/Fl_Progress.H')
| -rw-r--r-- | FL/Fl_Progress.H | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/FL/Fl_Progress.H b/FL/Fl_Progress.H index 6f5819a2b..12ccf09c6 100644 --- a/FL/Fl_Progress.H +++ b/FL/Fl_Progress.H @@ -38,7 +38,9 @@ // // Progress class... // - +/** + Displays a progress bar for the user. +*/ class FL_EXPORT Fl_Progress : public Fl_Widget { float value_, @@ -53,13 +55,19 @@ class FL_EXPORT Fl_Progress : public Fl_Widget Fl_Progress(int x, int y, int w, int h, const char *l = 0); + /** Sets the maximum value in the progress widget. */ void maximum(float v) { maximum_ = v; redraw(); } + /** Gets the maximum value in the progress widget. */ float maximum() const { return (maximum_); } + /** Sets the minimum value in the progress widget. */ void minimum(float v) { minimum_ = v; redraw(); } + /** Gets the minimum value in the progress widget. */ float minimum() const { return (minimum_); } + /** Sets the current value in the progress widget. */ void value(float v) { value_ = v; redraw(); } + /** Gets the current value in the progress widget. */ float value() const { return (value_); } }; |
