diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-21 18:00:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-21 18:04:01 +0300 |
commit | 5ba5254ec1ebba6c1e89b663592d716b92e13165 (patch) | |
tree | b8f74acaf2ec5ba374235bbf811f412ad8b1f7e3 /intern/ghost/GHOST_C-api.h | |
parent | 23ffd4ec394011cec26879cba946501b245020fd (diff) |
UI: Optional prompt to quit for non win32 systems
D566 by @januz
Use Blender native dialog when OS dialog's aren't supported.
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index 967d3f58143..55a56b1b09f 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -898,6 +898,11 @@ extern int GHOST_toggleConsole(int action); extern int GHOST_confirmQuit(GHOST_WindowHandle windowhandle); /** + * Informs if the system provides native dialogs (eg. confirm quit) + */ +extern int GHOST_SupportsNativeDialogs(void); + +/** * Use native pixel size (MacBook pro 'retina'), if supported. */ extern int GHOST_UseNativePixels(void); |