Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Plisson <damien.plisson@yahoo.fr>2009-10-19 14:49:45 +0400
committerDamien Plisson <damien.plisson@yahoo.fr>2009-10-19 14:49:45 +0400
commitb18eeed2256ee078e7ebfccdcf6a4d3131507067 (patch)
tree919bc2a77c47444eaadf45db4a453ffa819f40ae /intern/ghost/intern/GHOST_WindowCocoa.h
parent55249e255a2bddda9042f2a608f1d7ee113a6fe4 (diff)
Cocoa :
- fix#19592 : implemented updated continuous grab feature (fixing compilation issues) - fix some 10.6 & 64bit warnings
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCocoa.h')
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.h b/intern/ghost/intern/GHOST_WindowCocoa.h
index e5fff75c66e..5368d0f1e13 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.h
+++ b/intern/ghost/intern/GHOST_WindowCocoa.h
@@ -237,17 +237,11 @@ protected:
virtual GHOST_TSuccess setWindowCursorVisibility(bool visible);
/**
- * Sets the cursor warp accumulator. Overriden for workaround due to Cocoa next event after cursor set giving delta values non zero
- */
- inline virtual bool setCursorGrabAccum(GHOST_TInt32 x, GHOST_TInt32 y);
-
- /**
* 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);
-
+ virtual GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode mode);
+
/**
* Sets the cursor shape on the window using
* native window system calls.