Improve docs of Fl::hide_all_windows()

+ update fluid dependencies

No code changes.
This commit is contained in:
Albrecht Schlosser 2023-08-10 15:16:01 +02:00
parent 21fdd42838
commit dbb77b9657
2 changed files with 18 additions and 8 deletions

View File

@ -353,6 +353,7 @@ factory.o: ../FL/Fl_Button.H
factory.o: ../FL/Fl_Cairo.H
factory.o: ../FL/fl_casts.H
factory.o: ../FL/Fl_Check_Browser.H
factory.o: ../FL/Fl_Choice.H
factory.o: ../FL/Fl_Clock.H
factory.o: ../FL/fl_config.h
factory.o: ../FL/Fl_Counter.H
@ -370,6 +371,10 @@ factory.o: ../FL/Fl_Help_View.H
factory.o: ../FL/Fl_Image.H
factory.o: ../FL/Fl_Input.H
factory.o: ../FL/Fl_Input_.H
factory.o: ../FL/Fl_Input_Choice.H
factory.o: ../FL/Fl_Menu_.H
factory.o: ../FL/Fl_Menu_Bar.H
factory.o: ../FL/Fl_Menu_Button.H
factory.o: ../FL/Fl_Menu_Item.H
factory.o: ../FL/Fl_Multi_Label.H
factory.o: ../FL/Fl_Output.H
@ -410,7 +415,9 @@ factory.o: code.h
factory.o: factory.h
factory.o: Fd_Snap_Action.h
factory.o: fluid.h
factory.o: Fl_Button_Type.h
factory.o: Fl_Group_Type.h
factory.o: Fl_Menu_Type.h
factory.o: Fl_Type.h
factory.o: Fl_Widget_Type.h
factory.o: Fl_Window_Type.h

View File

@ -14,9 +14,9 @@
// https://www.fltk.org/bugs.php
//
/** \file
Implementation of the member functions of class Fl.
*/
/** \file src/Fl.cxx
Implementation of the member functions of class Fl.
*/
#include <FL/Fl.H>
#include <FL/platform.H>
@ -672,11 +672,14 @@ int Fl::ready()
return system_driver()->ready();
}
/** Hide all visible window to make FLTK leav Fl::run().
Fl:run() will run as long as there are visible windows. Call hide_all_windows()
will hide all windows, effectively terminating the Fl::run() loop.
\see Fl::run()
*/
/** Hide all visible windows to make FLTK leave Fl::run().
Fl:run() will run as long as there are visible windows.
Call Fl::hide_all_windows() to hide (close) all currently shown
(visible) windows, effectively terminating the Fl::run() loop.
\see Fl::run()
\since 1.4.0
*/
void Fl::hide_all_windows() {
while (Fl::first_window()) {
Fl::first_window()->hide();