diff options
Diffstat (limited to 'FL/Fl_Spinner.H')
| -rw-r--r-- | FL/Fl_Spinner.H | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/FL/Fl_Spinner.H b/FL/Fl_Spinner.H index 32de7e23f..af35dadbb 100644 --- a/FL/Fl_Spinner.H +++ b/FL/Fl_Spinner.H @@ -233,14 +233,16 @@ class FL_EXPORT Fl_Spinner : public Fl_Group { void textsize(Fl_Fontsize s) { input_.textsize(s); } - /** 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. - \note type is not a virtual function. + /** Gets the numeric representation in the input field. + \see Fl_Spinner::type(uchar) */ */ uchar type() const { return (input_.type()); } - /** See uchar Fl_Spinner::type() const */ + /** Sets the numeric representation in the input field. + Valid values are FL_INT_INPUT and FL_FLOAT_INPUT. + Also changes the format() template. + Setting a new spinner type via a superclass pointer will not work. + \note type is not a virtual function. + */ void type(uchar v) { if (v==FL_FLOAT_INPUT) { format("%.*f"); |
