Commit of cursor framework. Cursors now defined in source/blender/src/cursors.c and
[blender.git] / intern / ghost / intern / GHOST_WindowX11.h
index 0b0b8d596d55a9264c7d3ce90189421384fea739..d8b5f61697e6ab68377a26da635909e94804cf9f 100755 (executable)
@@ -236,6 +236,22 @@ protected:
                int hotX, 
                int hotY
        );
+       
+       /**
+        * Sets the cursor shape on the window using
+        * native window system calls (Arbitrary size/color).
+        */
+               GHOST_TSuccess
+       setWindowCustomCursorShape(
+               GHOST_TUns8 *bitmap, 
+               GHOST_TUns8 *mask, 
+               int sizex, 
+               int sizey,
+               int hotX, 
+               int hotY,
+               int fg_color, 
+               int bg_color
+       );
 
 private :