From 4c481a5736a0ed8269758aa81069d2ab46500e09 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 29 Mar 2006 08:09:26 +0000 Subject: STR 1157: Attempt to make the documentation on Fl_Valuator::format clearer. An native English speaker should check this please. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Valuator.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'documentation') diff --git a/documentation/Fl_Valuator.html b/documentation/Fl_Valuator.html index 4903c144c..b2dc188b0 100644 --- a/documentation/Fl_Valuator.html +++ b/documentation/Fl_Valuator.html @@ -95,12 +95,15 @@ turned off by value(x) and just before doing a callback

Clears the changed() flag. -

int Fl_Valuator::format(char *)

+

int Fl_Valuator::format(char *buffer)

-

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 %g format. The characters are written into the -passed buffer. +

This method is used by the Fl_Value_... group of widgets to +format the current value into a text string. +The return value is the length of the formatted text. +The text itself is returned in buffer. +buffer should have space for up to 128 bytes.

+ +

You may override this function to create your own text formatting.

double Fl_Valuator::increment(double,int n)

-- cgit v1.2.3