summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-09-18 19:09:34 +0000
committerFabien Costantini <fabien@onepost.net>2008-09-18 19:09:34 +0000
commite8478458bf96bb62158a61b39416e515767d94a7 (patch)
tree0ba17d2b9ae36dc475c63e1d0499204208a632f7 /src/Fl_Window.cxx
parentd75b9717c7c1d607a83d0b9625296a0a3bce25c3 (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_Window.cxx')
-rw-r--r--src/Fl_Window.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 5e00d8c86..21eec3caa 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -166,14 +166,15 @@ void Fl::default_atclose(Fl_Window* window, void* v) {
}
void (*Fl::atclose)(Fl_Window*, void*) = default_atclose;
-
+/**
+ Sets the default callback v for win to call on close event.
+ <P> For back compatibility only.
+*/
void Fl_Window::default_callback(Fl_Window* win, void* v) {
Fl::atclose(win, v);
}
-/**
- Returns the last window that was made current.
-*/
+/** Returns the last window that was made current. */
Fl_Window *Fl_Window::current() {
return current_;
}