diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-18 01:12:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-18 11:31:10 +0300 |
commit | 14f00e11fe4289c7ce16810faa7c5806869cd988 (patch) | |
tree | 0973cf788112a2648fad7c0512d386f572842dcd /intern/ghost/GHOST_Types.h | |
parent | 47189985781ec9dfc4c9899bc2c08482fddc8ef3 (diff) |
macOS: always use the Blender quit dialog, like other platforms
The same was done for Windows, but some extra changes were needed to make it
work on macOS. This is required because the Blender quit dialog now contains
additional settings for image saving.
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r-- | intern/ghost/GHOST_Types.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index faba5bb996a..f38154cbf94 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -125,9 +125,6 @@ typedef enum { // GHOST_kWindowStateUnModified, } GHOST_TWindowState; -/** Constants for the answer to the blender exit request */ -typedef enum { GHOST_kExitCancel = 0, GHOST_kExitNow } GHOST_TExitRequestResponse; - typedef enum { GHOST_kWindowOrderTop = 0, GHOST_kWindowOrderBottom } GHOST_TWindowOrder; typedef enum { @@ -165,7 +162,7 @@ typedef enum { GHOST_kEventKeyUp, // GHOST_kEventKeyAuto, - GHOST_kEventQuit, + GHOST_kEventQuitRequest, GHOST_kEventWindowClose, GHOST_kEventWindowActivate, |