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:
authorRobert Wenzlaff <rwenzlaff@soylent-green.com>2003-11-12 16:32:11 +0300
committerRobert Wenzlaff <rwenzlaff@soylent-green.com>2003-11-12 16:32:11 +0300
commita0471975d869cf70aa81a4bb3f2c896c3d5f0b26 (patch)
tree2d6672d50067a5ce81205d6291bf47eb54a50a57 /source/blender/src/ghostwinlay.c
parentbd993f13d40d1b08798bd0145e3466239ab29277 (diff)
Adds Hotspot control to custom cursor.
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r--source/blender/src/ghostwinlay.c5
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) {