Updated docos to match code.
git-svn-id: file:///fltk/svn/fltk/trunk@389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
47e91e6c26
commit
4ddb739c13
@ -31,10 +31,9 @@ int w, int h, const char *label = 0)</A></H4>
|
||||
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>.
|
||||
<H4><A name=Fl_Counter.~Fl_Counter>virtual Fl_Counter::~Fl_Counter()</A></H4>
|
||||
Destroys the valuator.
|
||||
<H4><A name=Fl_Counter.lstep>double Fl_Counter::lstep() const
|
||||
<BR> void Fl_Counter::lstep(double)</A></H4>
|
||||
Get or set the increment for the double-arrow buttons. The default
|
||||
Destroys the valuator.
|
||||
<H4><A name=Fl_Counter.lstep>double Fl_Counter::lstep() const</A></H4>
|
||||
Set the increment for the double-arrow buttons. The default
|
||||
value is 1.0.
|
||||
<H4><A name=Fl_Counter.type>type(uchar)</A></H4>
|
||||
Sets the type of counter:
|
||||
@ -44,4 +43,4 @@ value is 1.0.
|
||||
<LI><TT>FL_SIMPLE_COUNTER</TT> - Displays a counter with only 2 arrow
|
||||
buttons. </LI>
|
||||
</UL>
|
||||
</BODY></HTML>
|
||||
</BODY></HTML>
|
||||
|
@ -111,16 +111,16 @@ is zero.
|
||||
<P>For precision the step is stored as the ratio of two integers, A/B.
|
||||
You can set these integers directly. Currently setting a floating
|
||||
point value sets the nearest A/1 or 1/B value possible. </P>
|
||||
<H4><A name=Fl_Valuator.format>int Fl_Valuator::format(char*, double)</A>
|
||||
<H4><A name=Fl_Valuator.format>int Fl_Valuator::format(char *)</A>
|
||||
</H4>
|
||||
Format the passed value to show enough digits so that for the current
|
||||
Format the passed value to show enough digits so that for the current
|
||||
step value. If the step has been set to zero then it does a <TT>%g</TT>
|
||||
format. The characters are written into the passed buffer.
|
||||
format. The characters are written into the passed buffer.
|
||||
<H4><A name=Fl_Valuator.round>double Fl_Valuator::round(double)</A></H4>
|
||||
Round the passed value to the nearest step increment. Does nothing if
|
||||
Round the passed value to the nearest step increment. Does nothing if
|
||||
step is zero.
|
||||
<H4><A name=Fl_Valuator.clamp>double Fl_Valuator::clamp(double)</A></H4>
|
||||
Clamp the passed value to the valuator range.
|
||||
Clamp the passed value to the valuator range.
|
||||
<H4><A name=Fl_Valuator.increment>double
|
||||
Fl_Valuator::increment(double,int n)</A></H4>
|
||||
Adds <TT>n</TT> times the step value to the passed value. If step was
|
||||
|
Loading…
Reference in New Issue
Block a user