diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-18 19:09:34 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-18 19:09:34 +0000 |
| commit | e8478458bf96bb62158a61b39416e515767d94a7 (patch) | |
| tree | 0ba17d2b9ae36dc475c63e1d0499204208a632f7 /src/Fl_Valuator.cxx | |
| parent | d75b9717c7c1d607a83d0b9625296a0a3bce25c3 (diff) | |
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
Diffstat (limited to 'src/Fl_Valuator.cxx')
| -rw-r--r-- | src/Fl_Valuator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
