Class Hierarchy
Fl_Valuator
|
+----Fl_Value_Output
Include Files
#include <FL/Fl_Value_Output.H>
Description
The Fl_Value_Output widget displays a floating point value.
If step() is not zero, the user can adjust the value by
dragging the mouse left and right. The left button moves one step()
per pixel, the middle by 10 * step(), and the right button by
100 * step().
This is much lighter-weight than
Fl_Value_Input because it contains no text editing code or
character buffer.
Methods
Creates a new Fl_Value_Output widget using the given
position, size, and label string. The default boxtype is FL_NO_BOX
.
Destroys the valuator.
If "soft" is turned on, the user is allowed to drag the value outside
the range. If they drag the value to one of the ends, let go, then
grab again and continue to drag, they can get to any value. Default is
one.
Gets or sets the color of the text in the value box.
Gets or sets the typeface of the text in the value box.
Gets or sets the size of the text in the value box.