diff options
author | Alexander Kuznetsov <kuzsasha@gmail.com> | 2012-03-16 21:37:45 +0400 |
---|---|---|
committer | Alexander Kuznetsov <kuzsasha@gmail.com> | 2012-03-16 21:37:45 +0400 |
commit | ed44ddd816d3bcd9be2e2097e1087dcdbf9b91e1 (patch) | |
tree | 357e958f56adb04aa07e20af827c8d0b6ba5532f /intern/ghost/GHOST_C-api.h | |
parent | 2caa507b7eaa7d55a0be7bda513f08ecfe4791f1 (diff) |
Patch by Psy-Fi + my minor changes
Adds conformation on exit for windows. Needs to be enabled in user perf.
Tried to edit blender.exe.manifest for more modern dialog look, but didn't work out.
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index a22b6bc371c..3add5ccb60a 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -842,6 +842,14 @@ extern void GHOST_putClipboard(GHOST_TInt8 *buffer, int selection); */ extern int GHOST_toggleConsole(int action); + +/** + * Confirms quitting he program when there is just one window left open + * in the application + */ +extern int GHOST_confirmQuit(GHOST_WindowHandle windowhandle); + + #ifdef __cplusplus } #endif |