Class Hierarchy
Fl_Valuator
|
+----Fl_Dial
Include Files
#include <FL/Fl_Dial.H>
Description
The Fl_Dial widget provides a circular dial to control a
single floating point value.
Methods
Creates a new Fl_Dial widget using the given position, size,
and label string. The default type is FL_NORMAL_DIAL.
Destroys the valuator.
Sets the angles used for the minimum and maximum values. By default
these are 225 and 135, respectively. (0 degrees is straight up and the
angles progress clockwise.) The angles specified should be greater than
or equal to 0 and less than 360. The progress of the dial always starts at
the minimum angle and progresses clockwise to the maximum angle. Currently,
counter-clockwise progression is not supported (but user code can always
use 1/value()).
Sets the type of the dial to:
- FL_NORMAL_DIAL - Draws a normal dial with a knob.
- FL_LINE_DIAL - Draws a dial with a line.
- FL_FILL_DIAL - Draws a dial with a filled arc.