From e8478458bf96bb62158a61b39416e515767d94a7 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Thu, 18 Sep 2008 19:09:34 +0000 Subject: Doxygen documentation: Fixed most important warnings for the Fl_Widget, Fl_Window, Fl_Valuator classes that should be now a 100% documented. For the rest I drastically reduced the undocumented APIs, but many others (less important) remains. It looks and feels pretty good now :-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Valuator.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Valuator.cxx') diff --git a/src/Fl_Valuator.cxx b/src/Fl_Valuator.cxx index 7a76220df..0c1f10e1a 100644 --- a/src/Fl_Valuator.cxx +++ b/src/Fl_Valuator.cxx @@ -85,7 +85,7 @@ int Fl_Valuator::value(double v) { value_damage(); return 1; } - +/** Clamps the value, but accepts v if the previous value is not already out of range */ double Fl_Valuator::softclamp(double v) { int which = (min<=max); double p = previous_value_; @@ -95,7 +95,7 @@ double Fl_Valuator::softclamp(double v) { } // inline void Fl_Valuator::handle_push() {previous_value_ = value_;} - +/** Called during a drag operation, after an FL_WHEN_CHANGED event is received and before the callback. */ void Fl_Valuator::handle_drag(double v) { if (v != value_) { value_ = v; @@ -104,7 +104,7 @@ void Fl_Valuator::handle_drag(double v) { if (when() & FL_WHEN_CHANGED) do_callback(); } } - +/** Called after an FL_WHEN_RELEASE event is received and before the callback. */ void Fl_Valuator::handle_release() { if (when()&FL_WHEN_RELEASE) { // insure changed() is off even if no callback is done. It may have -- cgit v1.2.3