diff options
author | Robert Wenzlaff <rwenzlaff@soylent-green.com> | 2003-11-12 16:32:11 +0300 |
---|---|---|
committer | Robert Wenzlaff <rwenzlaff@soylent-green.com> | 2003-11-12 16:32:11 +0300 |
commit | a0471975d869cf70aa81a4bb3f2c896c3d5f0b26 (patch) | |
tree | 2d6672d50067a5ce81205d6291bf47eb54a50a57 /source/blender/src/ghostwinlay.c | |
parent | bd993f13d40d1b08798bd0145e3466239ab29277 (diff) |
Adds Hotspot control to custom cursor.
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r-- | source/blender/src/ghostwinlay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c index 38df9ead5e0..33ddf13cd1a 100644 --- a/source/blender/src/ghostwinlay.c +++ b/source/blender/src/ghostwinlay.c @@ -326,8 +326,9 @@ void window_set_cursor(Window *win, int curs) { } } -void window_set_custom_cursor(Window *win, unsigned char mask[16][2], unsigned char bitmap[16][2]) { - GHOST_SetCustomCursorShape(win->ghostwin, bitmap, mask, 7, 7); +void window_set_custom_cursor(Window *win, unsigned char mask[16][2], + unsigned char bitmap[16][2], int hotx, int hoty) { + GHOST_SetCustomCursorShape(win->ghostwin, bitmap, mask, hotx, hoty); } void window_make_active(Window *win) { |