summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-10-04 14:15:16 +0000
committerFabien Costantini <fabien@onepost.net>2008-10-04 14:15:16 +0000
commitbfac12dbfad45c400fc77fedb0dbeca315b0960f (patch)
tree790dc4c23978b1cef96ea482414528356fa5a616 /src/Fl_Window.cxx
parent0eb1ac797f7bb6aa66b19eb7a0383609ae2bc925 (diff)
Completed and corrected Fl and related Fl_Window documentation, added cross references, especially to back compatibility functions to the new ones.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 32459d367..70b9c7f47 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -168,17 +168,14 @@ void Fl::default_atclose(Fl_Window* window, void* v) {
window->hide();
Fl_Widget::default_callback(window, v); // put on Fl::read_queue()
}
-
+/** Back compatibility: default window callback handler \see Fl::set_atclose() */
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.
-*/
+/** Back compatibility: Sets the default callback v for win to call on close event */
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. \see Fl_Window::make_current() */
Fl_Window *Fl_Window::current() {
return current_;
}