From 6d65dcba88092bbff9979399a7d204bb0c88dd59 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 25 Mar 2005 02:39:25 +0000 Subject: Change Fl_Spinner to use double values instead of ints. Update FLUID dependencies. The # copies spinner was just a bit too small for 100 copies. Didn't set the menu divider if there were exactly 10 files in the history. Add documentation for Fl_Spinner. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Spinner.html | 107 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 documentation/Fl_Spinner.html (limited to 'documentation/Fl_Spinner.html') diff --git a/documentation/Fl_Spinner.html b/documentation/Fl_Spinner.html new file mode 100644 index 000000000..ab6383c77 --- /dev/null +++ b/documentation/Fl_Spinner.html @@ -0,0 +1,107 @@ + + + + + +

class Fl_Spinner

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +

The Fl_Spinner widget is a combination of the input +widget and repeat buttons. The user can either type into the +input area or use the buttons to change the value. + +

Methods

+ + + +

Fl_Spinner::Fl_Spinner(int x, int y, int w, +int h, const char *label = 0)

+ +

Creates a new Fl_Spinner widget using the given position, size, +and label string. + +

virtual Fl_Spinner::~Fl_Spinner()

+ +

Destroys the widget and any value associated with it. + +

void format(const char *f)
+const char *format()

+ +

Sets or returns the format string for the value.

+ +

void maximum(double m)
+double maximum() const

+ +

Sets or returns the maximum value of the widget.

+ +

void minimum(double m)
+double minimum() const

+ +

Sets or returns the minimum value of the widget.

+ +

void range(double minval, double maxval)

+ +

Sets the minimum and maximum values for the widget.

+ +

void step(double s)
+double step() const

+ +

Sets or returns the amount to change the value when the user +clicks a button.

+ +

void textcolor(Fl_Color c)
+Fl_Color textcolor() const

+ +

Sets or returns the color of the text in the input field.

+ +

void textfont(uchar f)
+uchar textfont() const

+ +

Sets or returns the font of the text in the input field.

+ +

void textsize(uchar s)
+uchar textsize() const

+ +

Sets or returns the size of the text in the input field.

+ +

void Fl_Spinner::value(double v)
+double Fl_Spinner::value() const

+ +

Sets or returns the current value of the widget.

+ + + -- cgit v1.2.3