aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-06-10 15:23:31 +0200
committerAndre Weissflog <floooh@gmail.com>2019-06-10 15:23:31 +0200
commitf98a40e792249f36d0c19dd0587334e18f614b4a (patch)
treee81268b2cd44062d3806c91440b3fdc70eaabdcb
parentf6e6fff0db52a6f62cadbaf5af439da202fafda9 (diff)
mention the new sokol_app.h quit-featues in the README
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 51e2f768..abd44399 100644
--- a/README.md
+++ b/README.md
@@ -397,6 +397,21 @@ Mainly some "missing features" for desktop apps:
# Updates
+- **10-Jun-2019**: sokol_app.h now has proper "application quit handling":
+ - a pending quit can be intercepted, for instance to show a "Really Quit?" dialog box
+ - application code can now initiate a "soft quit" or "hard quit"
+ - on the web platform, the standard "Leave Site?" dialog box implemented
+ by browsers can be shown when the user leaves the site
+ - Android and iOS currently don't have any of those features (since the
+ operating system may decide to terminate mobile applications at any time
+ anyway, if similar features are added they will most likely have
+ similar limitations as the web platform)
+ For details, search for 'APPLICATION QUIT' in the sokol_app.h documentation
+ header: https://github.com/floooh/sokol/blob/master/sokol_app.h
+
+ The [imgui-highdpi-sapp](https://github.com/floooh/sokol-samples/tree/master/sapp)
+ contains sample code for all new quit-related features.
+
- **08-Jun-2019**: some new stuff in sokol_app.h:
- the ```sapp_event``` struct has a new field ```bool key_repeat```
which is true when a keyboard event is a key-repeat (for the