diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemCocoa.h')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.h b/intern/ghost/intern/GHOST_SystemCocoa.h index 109dd6c180d..1e44c3e31d4 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.h +++ b/intern/ghost/intern/GHOST_SystemCocoa.h @@ -109,7 +109,8 @@ class GHOST_SystemCocoa : public GHOST_System { GHOST_TDrawingContextType type, GHOST_GLSettings glSettings, const bool exclusive = false, - const GHOST_TEmbedderWindowID parentWindow = 0); + const bool is_dialog = false, + const GHOST_IWindow *parentWindow = NULL); /** * Create a new offscreen context. @@ -232,6 +233,11 @@ class GHOST_SystemCocoa : public GHOST_System { GHOST_TSuccess handleApplicationBecomeActiveEvent(); /** + * \return True if any dialog window is open. + */ + bool hasDialogWindow(); + + /** * External objects should call this when they send an event outside processEvents. */ void notifyExternalEventProcessed(); |