summaryrefslogtreecommitdiff
path: root/FL/Fl_Spinner.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Spinner.H')
-rw-r--r--FL/Fl_Spinner.H28
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(); }
};