1999-01-13 22:28:54 +03:00
|
|
|
<HTML><BODY>
|
2001-11-28 21:00:17 +03:00
|
|
|
<!-- NEW PAGE -->
|
1999-01-13 22:28:54 +03:00
|
|
|
<H2><A name=Fl_Counter>class Fl_Counter</A></H2>
|
|
|
|
<HR>
|
|
|
|
<H3>Class Hierarchy</H3>
|
|
|
|
<UL>
|
|
|
|
<PRE>
|
|
|
|
<A href=Fl_Valuator.html#Fl_Valuator>Fl_Valuator</A>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
1999-01-13 22:28:54 +03:00
|
|
|
+----<B>Fl_Counter</B>
|
|
|
|
</PRE>
|
|
|
|
</UL>
|
|
|
|
<H3>Include Files</H3>
|
|
|
|
<UL>
|
|
|
|
<PRE>
|
|
|
|
#include <FL/Fl_Counter.H>
|
|
|
|
</PRE>
|
|
|
|
</UL>
|
|
|
|
<H3>Description</H3>
|
2001-11-29 22:24:00 +03:00
|
|
|
The <TT>Fl_Counter</TT> widget is provided for forms compatibility.
|
|
|
|
It controls a single floating point value.
|
2001-10-01 00:25:36 +04:00
|
|
|
<P ALIGN=CENTER><IMG src="counter.gif" ALT="Fl_Counter widget."></P>
|
1999-01-13 22:28:54 +03:00
|
|
|
<H3>Methods</H3>
|
|
|
|
<UL>
|
|
|
|
<LI><A href=#Fl_Counter.Fl_Counter>Fl_Counter</A></LI>
|
|
|
|
<LI><A href=#Fl_Counter.~Fl_Counter>~Fl_Counter</A></LI>
|
|
|
|
<LI><A href=#Fl_Counter.lstep>lstep</A></LI>
|
|
|
|
<LI><A href=#Fl_Counter.type>type</A></LI>
|
|
|
|
</UL>
|
2001-11-29 22:24:00 +03:00
|
|
|
<H4><A name=Fl_Counter.Fl_Counter>Fl_Counter::Fl_Counter(int x, int y,
|
1999-01-13 22:28:54 +03:00
|
|
|
int w, int h, const char *label = 0)</A></H4>
|
2001-11-29 22:24:00 +03:00
|
|
|
Creates a new <TT>Fl_Counter</TT> widget using the given position,
|
|
|
|
size, and label string. The default type is <TT>FL_NORMAL_COUNTER</TT>.
|
1999-01-13 22:28:54 +03:00
|
|
|
<H4><A name=Fl_Counter.~Fl_Counter>virtual Fl_Counter::~Fl_Counter()</A></H4>
|
2001-11-29 22:24:00 +03:00
|
|
|
Destroys the valuator.
|
1999-03-09 21:42:05 +03:00
|
|
|
<H4><A name=Fl_Counter.lstep>double Fl_Counter::lstep() const</A></H4>
|
2001-11-29 22:24:00 +03:00
|
|
|
Set the increment for the double-arrow buttons. The default
|
|
|
|
value is 1.0.
|
1999-01-13 22:28:54 +03:00
|
|
|
<H4><A name=Fl_Counter.type>type(uchar)</A></H4>
|
2001-11-29 22:24:00 +03:00
|
|
|
Sets the type of counter:
|
1999-01-13 22:28:54 +03:00
|
|
|
<UL>
|
2001-11-29 22:24:00 +03:00
|
|
|
<LI><TT>FL_NORMAL_COUNTER</TT> - Displays a counter with 4 arrow
|
1999-01-13 22:28:54 +03:00
|
|
|
buttons. </LI>
|
2001-11-29 22:24:00 +03:00
|
|
|
<LI><TT>FL_SIMPLE_COUNTER</TT> - Displays a counter with only 2 arrow
|
1999-01-13 22:28:54 +03:00
|
|
|
buttons. </LI>
|
|
|
|
</UL>
|
1999-03-09 21:42:05 +03:00
|
|
|
</BODY></HTML>
|