diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-17 22:25:45 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-17 22:25:45 +0000 |
| commit | 2be88792b3746c72d82448f8373bc7d6b322d38a (patch) | |
| tree | 15ef46c26f31448bbcd48d13b9f8788ddeb16e8f /FL/Fl_Spinner.H | |
| parent | 74cbd55745e7c55a62be524279c707a572f6c688 (diff) | |
Doxygen documentation: fixed all ambiguous methods signatures, fixed erroneous path test into ../test since the doxyfile move, fixed all intro dl,dt,dd related tags warnings in intro.dox .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Spinner.H')
| -rw-r--r-- | FL/Fl_Spinner.H | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/FL/Fl_Spinner.H b/FL/Fl_Spinner.H index 73e549f13..f91eadbf5 100644 --- a/FL/Fl_Spinner.H +++ b/FL/Fl_Spinner.H @@ -176,15 +176,15 @@ class Fl_Spinner : public Fl_Group /** Speling mistakes retained for source compatibility \deprecated */ double maxinum() const { return (maximum_); } - /** Sets or returns the maximum value of the widget. */ + /** Gets the maximum value of the widget. */ double maximum() const { return (maximum_); } - /** Sets or returns the maximum value of the widget. */ + /** Sets the maximum value of the widget. */ void maximum(double m) { maximum_ = m; } /** Speling mistakes retained for source compatibility \deprecated */ double mininum() const { return (minimum_); } - /** Sets or returns the minimum value of the widget. */ + /** Gets the minimum value of the widget. */ double minimum() const { return (minimum_); } - /** Sets or returns the minimum value of the widget. */ + /** Sets the minimum value of the widget. */ void minimum(double m) { minimum_ = m; } /** Sets the minimum and maximum values for the widget. */ void range(double a, double b) { minimum_ = a; maximum_ = b; } @@ -209,31 +209,31 @@ class Fl_Spinner : public Fl_Group else input_.type(FL_INT_INPUT); update(); } - /** Sets or Gets the color of the text in the input field. */ + /** Gets the color of the text in the input field. */ Fl_Color textcolor() const { return (input_.textcolor()); } - /** Sets or Gets the color of the text in the input field. */ + /** Sets the color of the text in the input field. */ void textcolor(Fl_Color c) { input_.textcolor(c); } - /** Sets or Gets the font of the text in the input field. */ + /** Gets the font of the text in the input field. */ Fl_Font textfont() const { return (input_.textfont()); } - /** Sets or Gets the font of the text in the input field. */ + /** Sets the font of the text in the input field. */ void textfont(Fl_Font f) { input_.textfont(f); } - /** Sets or Gets the size of the text in the input field. */ + /** Gets the size of the text in the input field. */ Fl_Fontsize textsize() const { return (input_.textsize()); } - /** Sets or Gets the size of the text in the input field. */ + /** Sets the size of the text in the input field. */ void textsize(Fl_Fontsize s) { input_.textsize(s); } - /** Sets or returns the numeric representation in the input field. + /** Sets or Gets the numeric representation in the input field. Valid values are FL_INT_INPUT and FL_FLOAT_INPUT. The first form also changes the format() template. Setting a new spinner type via a superclass pointer will not work. @@ -249,13 +249,13 @@ class Fl_Spinner : public Fl_Group } input_.type(v); } + /** Gets the current value of the widget. */ + double value() const { return (value_); } /** - Sets or returns the current value of the widget. + Sets the current value of the widget. Before setting value to a non-integer value, the spinner type() should be changed to floating point. */ - double value() const { return (value_); } - /** See double Fl_Spinner::value() const */ void value(double v) { value_ = v; update(); } }; |
