source: rtems-graphics-toolkit/fltk-1.1.10/documentation/Fl_Counter.html @ 513eea1

Last change on this file since 513eea1 was 513eea1, checked in by Joel Sherrill <joel.sherrill@…>, on 01/09/10 at 22:43:24

2010-01-08 Joel Sherrill <joel.sherrill@…>

fltk 1.1.10. imported

  • ORIGIN: Updated.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1<HTML>
2<HEAD>
3        <TITLE>Fl_Counter</TITLE>
4</HEAD>
5<BODY>
6<!-- NEW PAGE -->
7<H2><A name=Fl_Counter>class Fl_Counter</A></H2>
8<HR>
9<H3>Class Hierarchy</H3>
10<UL>
11<PRE>
12<A href=Fl_Valuator.html#Fl_Valuator>Fl_Valuator</A>
13   |
14   +----<B>Fl_Counter</B>
15</PRE>
16</UL>
17<H3>Include Files</H3>
18<UL>
19<PRE>
20#include &lt;FL/Fl_Counter.H&gt;
21</PRE>
22</UL>
23<H3>Description</H3>
24 The <TT>Fl_Counter</TT> widget is provided for forms compatibility.
25 It controls a single floating point value.
26<P ALIGN=CENTER><IMG src="counter.gif" ALT="Fl_Counter widget."></P>
27<H3>Methods</H3>
28<UL>
29<LI><A href=#Fl_Counter.Fl_Counter>Fl_Counter</A></LI>
30<LI><A href=#Fl_Counter.~Fl_Counter>~Fl_Counter</A></LI>
31<LI><A href=#Fl_Counter.lstep>lstep</A></LI>
32<LI><A href=#Fl_Counter.type>type</A></LI>
33</UL>
34<H4><A name=Fl_Counter.Fl_Counter>Fl_Counter::Fl_Counter(int x, int y,
35int w, int h, const char *label = 0)</A></H4>
36 Creates a new <TT>Fl_Counter</TT> widget using the given position,
37size, and label string. The default type is <TT>FL_NORMAL_COUNTER</TT>.
38<H4><A name=Fl_Counter.~Fl_Counter>virtual Fl_Counter::~Fl_Counter()</A></H4>
39Destroys the valuator.
40<H4><A name=Fl_Counter.lstep>double Fl_Counter::lstep() const</A></H4>
41Set the increment for the double-arrow buttons.  The default
42value is 1.0.
43<H4><A name=Fl_Counter.type>type(uchar)</A></H4>
44 Sets the type of counter:
45<UL>
46<LI><TT>FL_NORMAL_COUNTER</TT> - Displays a counter with 4 arrow
47 buttons. </LI>
48<LI><TT>FL_SIMPLE_COUNTER</TT> - Displays a counter with only 2  arrow
49buttons. </LI>
50</UL>
51</BODY></HTML>
Note: See TracBrowser for help on using the repository browser.