mirror of
https://github.com/fltk/fltk.git
synced 2025-12-11 13:53:06 +08:00
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
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user