diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-12-07 21:06:37 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-12-07 21:06:37 +0300 |
commit | 78f87c8bdf3bdb2115f9ab3e2a333fb76a5d2cfc (patch) | |
tree | fdc8702c74c3b30659b6c13677eab3a5913afcc3 /source/blender/windowmanager/wm_window.h | |
parent | 149b3bc7f2791e61d94dd91390b66fce7ff45aac (diff) |
Function to access the real cursor position from Ghost (useful when cursor is grabbed and warped)
Diffstat (limited to 'source/blender/windowmanager/wm_window.h')
-rw-r--r-- | source/blender/windowmanager/wm_window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h index 4328f915101..84e246937e4 100644 --- a/source/blender/windowmanager/wm_window.h +++ b/source/blender/windowmanager/wm_window.h @@ -55,6 +55,8 @@ void wm_window_get_position (wmWindow *win, int *posx_r, int *posy_r); void wm_window_set_title (wmWindow *win, char *title); void wm_window_swap_buffers (wmWindow *win); +void wm_get_cursor_position (wmWindow *win, int *x, int *y); + wmWindow *wm_window_copy (bContext *C, wmWindow *winorig); void wm_window_testbreak (void); |