From bfac12dbfad45c400fc77fedb0dbeca315b0960f Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sat, 4 Oct 2008 14:15:16 +0000 Subject: 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 --- src/Fl_Window.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/Fl_Window.cxx') 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. -

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_; } -- cgit v1.2.3