diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-06-10 15:23:31 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-06-10 15:23:31 +0200 |
| commit | f98a40e792249f36d0c19dd0587334e18f614b4a (patch) | |
| tree | e81268b2cd44062d3806c91440b3fdc70eaabdcb | |
| parent | f6e6fff0db52a6f62cadbaf5af439da202fafda9 (diff) | |
mention the new sokol_app.h quit-featues in the README
| -rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |