diff options
| author | Manolo Gouy <Manolo> | 2011-01-30 08:45:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-30 08:45:34 +0000 |
| commit | ff39941c20410fa19225d5345f0ef428b5c1b053 (patch) | |
| tree | 35a05dd060f12f7a34db761a28477fe12cf213df | |
| parent | 0e55ee68d08b7a89628ab0487b3a763093b99e77 (diff) | |
Reorganized Doxygen docs of Fl_Spinner::type() functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -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"); |
