summaryrefslogtreecommitdiff
path: root/documentation/Fl_Dial.html
blob: 2e732440ad7b8f6f68b52b05764088c655bdc418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<body>

<hr break>

<h2><a name="Fl_Dial">class Fl_Dial</a></h2>

<hr>

<h3>Class Hierarchy</h3>

<ul><pre>
<a href="#Fl_Valuator">Fl_Valuator</a>
   |
   +----<b>Fl_Dial</b>
</pre></ul>

<h3>Include Files</h3>

<ul><pre>
#include &lt;FL/Fl_Dial.H>
</pre></ul>

<h3>Description</h3>

The <tt>Fl_Dial</tt> widget provides a circular dial to control a
single floating point value.

<h3>Methods</h3>

<ul>
	<li><a href="#Fl_Dial.Fl_Dial">Fl_Dial</a>
	<li><a href="#Fl_Dial.~Fl_Dial">~Fl_Dial</a>
	<li><a href="#Fl_Dial.angles">angles</a>
	<li><a href="#Fl_Dial.type">type</a>
</ul>

<h4><a name="Fl_Dial.Fl_Dial">Fl_Dial::Fl_Dial(int x, int y, int w, int h, const char *label = 0)</a></h4>

Creates a new <tt>Fl_Dial</tt> widget using the given position, size, and
label string. The default type is <tt>FL_NORMAL_DIAL</tt>.

<h4><a name="Fl_Dial.~Fl_Dial">virtual Fl_Dial::~Fl_Dial()</a></h4>

Destroys the valuator.

<h4><a name="Fl_Dial.angles">void Fl_Dial::angles(short a, short b)</a></h4>

Sets the angles used for the minimum and maximum values.  By default these
are 0 and 360, respectively.

<h4><a name="Fl_Dial.type">type(uchar)</a></h4>

Sets the type of the dial to:

<ul>
	<li><tt>FL_NORMAL_DIAL</tt> - Draws a normal dial with a knob.

	<li><tt>FL_LINE_DIAL</tt> - Draws a dial with a line.

	<li><tt>FL_FILL_DIAL</tt> - Draws a dial with a filled arc.
</tt>

</body>
</html>