summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-02-06 17:26:11 +0000
committerManolo Gouy <Manolo>2018-02-06 17:26:11 +0000
commit425ab2e8bc4905959ecc5d38e042ee0e1c3e1771 (patch)
tree7e20118535dae2870bc2fb7c4a3b83d12d054af9 /CHANGES
parent4ebaee0f40e30c4da671a9351676e1c9051abbef (diff)
Add support for detection and processing of clean program termination request.
The default handling of cmd-Q/Quit program under MacOS was to terminate the program if all its windows are closed without returning from FLTK's event loop. This was running against a strong design feature of FLTK that programs should always complete their event loop and return from main() when cleanly terminating. In the new code for the MacOS platform, cmd-Q/Quit program no longer terminates the program. Instead, the event loop is interrupted and a call to Fl::program_should_quit() allows to detect that program termination has been requested, if necessary. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 8f5018957..fe8bb9fcf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -18,6 +18,12 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2017
New Features and Extensions
- (add new items here)
+ - New member functions FL::run_also_windowless(),
+ and FL::wait_also_windowless(double secnds) to run the event
+ loop even without any mapped window if the platform supports it.
+ - New member functions Fl::program_should_quit(void),
+ and Fl::program_should_quit(int) to support detection by the library
+ of a request to terminate cleanly the program.
- MacOS platform: Added support for rescaling the GUI of any app at run-time
using the command/+/-/0/ keystrokes.
- MSWindows platform: Added optional support for rescaling the GUI of any app