diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-09 18:42:05 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-09 18:42:05 +0000 |
| commit | 4ddb739c13be1839001939ed269c7927ca55e0ac (patch) | |
| tree | 880cf98d4442663a6d384518be1571f007e32a1c /documentation | |
| parent | 47e91e6c26ee9434b301cebc9c2e3d86721e94a9 (diff) | |
Updated docos to match code.
git-svn-id: file:///fltk/svn/fltk/trunk@389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl_Counter.html | 9 | ||||
| -rw-r--r-- | documentation/Fl_Valuator.html | 10 |
2 files changed, 9 insertions, 10 deletions
diff --git a/documentation/Fl_Counter.html b/documentation/Fl_Counter.html index d7832f9c2..1b4246c07 100644 --- a/documentation/Fl_Counter.html +++ b/documentation/Fl_Counter.html @@ -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>
\ No newline at end of file +</BODY></HTML> diff --git a/documentation/Fl_Valuator.html b/documentation/Fl_Valuator.html index f3a33f5e1..fddf7ecc8 100644 --- a/documentation/Fl_Valuator.html +++ b/documentation/Fl_Valuator.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 |
