diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-08 01:19:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-08 01:19:35 +0400 |
commit | 0c857a4f1462a909b111ec4533e1c1f5ab54af4f (patch) | |
tree | 97390de3a70172b7e6c47210094f78a44a019bdd /intern/ghost/GHOST_IWindow.h | |
parent | a4e36f24c74dfc825347752aae2e55e0247924ef (diff) |
- made ungrab a second function - WM_cursor_ungrab
- ungrab can restore the position of the mouse clamped to the window bounds (much nicer for transform)
Diffstat (limited to 'intern/ghost/GHOST_IWindow.h')
-rw-r--r-- | intern/ghost/GHOST_IWindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h index 44ddf9a7cfb..993b41a4d4f 100644 --- a/intern/ghost/GHOST_IWindow.h +++ b/intern/ghost/GHOST_IWindow.h @@ -271,7 +271,7 @@ public: * @param grab The new grab state of the cursor. * @return Indication of success. */ - virtual GHOST_TSuccess setCursorGrab(bool grab, bool warp) { return GHOST_kSuccess; }; + virtual GHOST_TSuccess setCursorGrab(bool grab, bool warp, bool restore) { return GHOST_kSuccess; }; }; |