@ -176,15 +176,15 @@ class Fl_Spinner : public Fl_Group
@@ -176,15 +176,15 @@ class Fl_Spinner : public Fl_Group
/** Speling mistakes retained for source compatibility \deprecated */
double maxinum ( ) const { return ( maximum_ ) ; }
/** Sets or return s the maximum value of the widget. */
/** Get s 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 return s the minimum value of the widget. */
/** Get s 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
@@ -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 return s the numeric representation in the input field.
/** Sets or Get s 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
@@ -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 ( ) ; }
} ;