File: Fl_Progress.html

package info (click to toggle)
fltk1.1 1.1.10-29
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,620 kB
  • sloc: cpp: 76,654; ansic: 40,942; makefile: 1,703; sh: 438
file content (73 lines) | stat: -rw-r--r-- 1,798 bytes parent folder | download | duplicates (7)
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
68
69
70
71
72
73
<HTML>
<HEAD>
	<TITLE>Fl_Progress</TITLE>
</HEAD>
<BODY>

<!-- NEW PAGE -->
<H2><A name=Fl_Progress>class Fl_Progress</A></H2>

<HR>

<H3>Class Hierarchy</H3>

<UL><PRE>
<A href="Fl_Widget.html#Fl_Widget">Fl_Widget</A>
   |
   +----<B>Fl_Progress</B>
</PRE></UL>

<H3>Include Files</H3>

<UL><PRE>
#include &lt;FL/Fl_Progress.H&gt;
</PRE></UL>

<H3>Description</H3>

<P>The <TT>Fl_Progress</TT> widget displays a progress bar for the
user.

<H3>Methods</H3>

<UL>

	<LI><A href="#Fl_Progress.Fl_Progress">Fl_Progress</A></LI>
	<LI><A href="#Fl_Progress.~Fl_Progress">~Fl_Progress</A></LI>
	<LI><A href="#Fl_Progress.maximum">maximum</A></LI>
	<LI><A href="#Fl_Progress.minimum">minimum</A></LI>
	<LI><A href="#Fl_Progress.value">value</A></LI>

</UL>

<H4><A name="Fl_Progress.Fl_Progress">Fl_Progress::Fl_Progress(int x, int y, int w, int h, const char *label = 0)</A></H4>

<P>The constructor creates the progress bar using the position,
size, and label.

<P>You can set the background color with color() and the progress bar color with
selection_color(), or you can set both colors together with color(unsigned bg, unsigned sel).

<P>The default colors are FL_BACKGROUND2_COLOR and FL_YELLOW, resp.

<H4><A name="Fl_Progress.~Fl_Progress">Fl_Progress::~Fl_Progress(void)</A></H4>

<P>The destructor removes the progress bar.

<H4><A name="Fl_Progress.maximum">void maximum(float v);
<BR>float maximum() const;</A></H4>

<P>Gets or sets the maximum value in the progress widget.

<H4><A name="Fl_Progress.minimum">void minimum(float v);
<BR>float minimum() const;</A></H4>

<P>Gets or sets the minimum value in the progress widget.

<H4><A name="Fl_Progress.value">void value(float v);
<BR>float value() const;</A></H4>

<P>Gets or sets the current value in the progress widget.

</BODY>
</HTML>