class Fl_Dial
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
Fl_Dial
~Fl_Dial
angle1
angle2
angles
type
Fl_Dial::Fl_Dial(int x, int y, int w, int h, const char *label = 0)
Creates a new
Fl_Dial
widget using the given position, size, and label string. The default type is
FL_NORMAL_DIAL
.
virtual Fl_Dial::~Fl_Dial()
Destroys the valuator.
short Fl_Dial::angle1() const;
void Fl_Dial::angle1(short);
short Fl_Dial::angle2() const;
void Fl_Dial::angle2(short);
void Fl_Dial::angles(short a, short b);
Sets the angles used for the minimum and maximum values. The default values are 45 and 315 (0 degrees is straight down and the angles progress clockwise). Normally angle1 is less than angle2, but if you reverse them the dial moves counter-clockwise.
type(uchar)
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.
Alojamiento con 500GB de espacio y 5000GB de ancho de banda por 4 euros al mes
Cómo contratar servicios de hosting con Dreamhost
Descuento, promocode para dreamhost de $50