diff options
| author | Manolo Gouy <Manolo> | 2018-02-08 07:37:43 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-02-08 07:37:43 +0000 |
| commit | 0c8ca7944a13a7143846ed448c9f88e088031ae1 (patch) | |
| tree | 613504c9cd15c22f85cd3084dc327c5bedb9cbfd | |
| parent | dcc82d8926e447e422f200d01e1aa990233bc16a (diff) | |
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
| -rw-r--r-- | FL/Fl.H | 5 | ||||
| -rw-r--r-- | src/Fl.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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(); diff --git a/src/Fl.cxx b/src/Fl.cxx index 630d77d3f..0483c2e6a 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -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); |
