diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2009-10-09 18:42:36 +0400 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2009-10-09 18:42:36 +0400 |
commit | 8f57b368ca89b8fdd6e2c3bd4f0adf145ab820a1 (patch) | |
tree | 19a11189441777e27b17a5ed71b0cfc6fd96384b /intern/ghost/intern/GHOST_WindowCocoa.h | |
parent | 8c96e2f4d284f76b6e0bdfbbd5fa9d1bc34b28ee (diff) |
Cocoa :
Implement OS X support for Campbell's new continuous grab feature
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCocoa.h')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.h b/intern/ghost/intern/GHOST_WindowCocoa.h index 8c2919d1ce2..7a39d9ab54a 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.h +++ b/intern/ghost/intern/GHOST_WindowCocoa.h @@ -237,6 +237,13 @@ protected: virtual GHOST_TSuccess setWindowCursorVisibility(bool visible); /** + * Sets the cursor grab on the window using + * native window system calls. + * @param warp Only used when grab is enabled, hides the mouse and allows gragging outside the screen. + */ + virtual GHOST_TSuccess setWindowCursorGrab(bool grab, bool warp, bool restore); + + /** * Sets the cursor shape on the window using * native window system calls. */ |