summaryrefslogtreecommitdiff
path: root/documentation/Fl_Value_Slider.html
blob: b8be9ef6d35e21277fcbbfd9091fb45134ae8843 (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
66
67
<html>
<body>

<hr break>

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

<hr>

<h3>Class Hierarchy</h3>

<ul><pre>
<a href="#Fl_Slider">Fl_Slider</a>
   |
   +----<b>Fl_Value_Slider</b>
</pre></ul>

<h3>Include Files</h3>

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

<h3>Description</h3>

The <tt>Fl_Value_Slider</tt> widget is a <tt>Fl_Slider</tt> widget with
a box displaying the current value.

<p><img src=value_slider.gif>

<h3>Methods</h3>

<ul>
	<li><a href="#Fl_Value_Slider.Fl_Value_Slider">Fl_Value_Slider</a>
	<li><a href="#Fl_Value_Slider.~Fl_Value_Slider">~Fl_Value_Slider</a>
	<li><a href="#Fl_Value_Slider.textcolor">textcolor</a>
	<li><a href="#Fl_Value_Slider.textfont">textfont</a>
	<li><a href="#Fl_Value_Slider.textsize">textsize</a>
</ul>

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

Creates a new <tt>Fl_Value_Slider</tt> widget using the given position,
size, and label string. The default boxtype is <tt>FL_DOWN_BOX</tt>.

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

Destroys the valuator.

<h4><a name="Fl_Value_Slider.textcolor">Fl_Color Fl_Value_Slider::textcolor() const<br>
void Fl_Value_Slider::textcolor(Fl_Color)</a></h4>

Gets or sets the color of the text in the value box.

<h4><a name="Fl_Value_Slider.textfont">Fl_Font Fl_Value_Slider::textfont() const<br>
<br>void Fl_Value_Slider::textfont(Fl_Font)</a></h4>

Gets or sets the typeface of the text in the value box.

<h4><a name="Fl_Value_Slider.textsize">uchar Fl_Value_Slider::textsize() const<br>
void Fl_Value_Slider::textsize(uchar)</a></h4>

Gets or sets the size of the text in the value box.

</body>
</html>