Documentation: add \version info to new member functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
dcc82d8926
commit
0c8ca7944a
5
FL/Fl.H
5
FL/Fl.H
@ -420,11 +420,14 @@ public:
|
||||
On the MacOS platform, the "Quit xxx" item of the application menu is such a request,
|
||||
that is considered accepted when all windows are closed. On other platforms, this function
|
||||
returns 0 until \p Fl::program_should_quit(1) is called.
|
||||
\version 1.4.0
|
||||
*/
|
||||
static int program_should_quit() {return program_should_quit_;}
|
||||
/** Indicate to the FLTK library whether a program termination request was received and accepted.
|
||||
A program may set this to 1, for example, while performing a platform-independent command asking the program to cleanly
|
||||
terminate, similarly to the "Quit xxx" item of the application menu under MacOS. */
|
||||
terminate, similarly to the "Quit xxx" item of the application menu under MacOS.
|
||||
\version 1.4.0
|
||||
*/
|
||||
static void program_should_quit(int should_i) { program_should_quit_ = should_i; }
|
||||
|
||||
static Fl_Widget* readqueue();
|
||||
|
@ -591,6 +591,7 @@ int Fl::ready()
|
||||
|
||||
/** Run the event loop even without any mapped window if the platform supports it.
|
||||
\return zero indicates the event loop has been terminated.
|
||||
\version 1.4.0
|
||||
*/
|
||||
int Fl::run_also_windowless() {
|
||||
return Fl::system_driver()->run_also_windowless();
|
||||
@ -598,6 +599,7 @@ int Fl::run_also_windowless() {
|
||||
|
||||
/** Wait for \p delay seconds or until an event occurs, even without any mapped window if the platform supports it.
|
||||
\return non zero indicates the event loop should be terminated
|
||||
\version 1.4.0
|
||||
*/
|
||||
int Fl::wait_also_windowless(double delay) {
|
||||
return Fl::system_driver()->wait_also_windowless(delay);
|
||||
|
Loading…
Reference in New Issue
Block a user