blob: 648d17a0a8a79d58ab20e76610c5c64072e97b9d (
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
|
<html>
<body>
<hr break>
<h2><a name="Fl_Round_Button">class Fl_Round_Button</a></h2>
<hr>
<h3>Class Hierarchy</h3>
<ul><pre>
<a href="#Fl_Button">Fl_Button</a>
|
+----<b>Fl_Round_Button</b>
</pre></ul>
<h3>Include Files</h3>
<ul><pre>
#include <FL/Fl_Round_Button.H>
</pre></ul>
<h3>Description</h3>
Buttons generate callbacks when they are clicked by the user. You
control exactly when and how by changing the values for <tt>type()</tt> and
<tt>when()</tt>.
<P>The <tt>Fl_Round_Button</tt> subclass display the "on" state by
turning on a light, rather than drawing pushed in. The shape of the
"light" is initially set to FL_ROUND_DOWN_BOX. The color of the
light when on is controlled with <tt>selection_color()<tt>, which defaults to
FL_RED.
<h3>Methods</h3>
<ul>
<li><a href="#Fl_Round_Button.Fl_Round_Button">Fl_Round_Button</a>
<li><a href="#Fl_Round_Button.~Fl_Round_Button">~Fl_Round_Button</a>
</ul>
<h4><a name="Fl_Round_Button.Fl_Round_Button">Fl_Round_Button::Fl_Round_Button(int x, int y, int w, int h, const char *label = 0)</a></h4>
Creates a new <tt>Fl_Round_Button</tt> widget using the given position,
size, and label string.
<h4><a name="Fl_Round_Button.~Fl_Round_Button">Fl_Round_Button::~Fl_Round_Button()</a></h4>
The destructor deletes the check button.
</body>
</html>
|