Commit of cursor framework. Cursors now defined in source/blender/src/cursors.c and
[blender.git] / intern / ghost / intern / GHOST_C-api.cpp
index 5f7866b3c85cfe9dc7caa64418f72021e347cab1..6f8ddd858ef7b54bba361c2cf6058fdcd2ac7e5c 100644 (file)
@@ -289,6 +289,24 @@ GHOST_TSuccess GHOST_SetCustomCursorShape(GHOST_WindowHandle windowhandle,
        return window->setCustomCursorShape(bitmap, mask, hotX, hotY);
 }
 
+GHOST_TSuccess GHOST_SetCustomCursorShapeEx(GHOST_WindowHandle windowhandle,
+                                                                                 GHOST_TUns8 *bitmap, 
+                                                                                 GHOST_TUns8 *mask, 
+                                                                                 int sizex, 
+                                                                                 int sizey,
+                                                                                 int hotX, 
+                                                                                 int hotY, 
+                                                                                 int fg_color, 
+                                                                                 int bg_color)
+{
+       GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;
+
+       return window->setCustomCursorShape(bitmap, mask, sizex, sizey, 
+                                                                                               hotX, hotY, fg_color, bg_color);
+}
+
+
+
 int GHOST_GetCursorVisibility(GHOST_WindowHandle windowhandle)
 {
        GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;