Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TSuccess GHOST_SetCursorShape ( GHOST_WindowHandle  windowhandle,
GHOST_TStandardCursor  cursorshape 

Set the shape of the cursor.

windowhandle The handle to the window
cursor The new cursor shape type id.
Indication of success.

Definition at line 273 of file GHOST_C-api.cpp.

References GHOST_SetCursorShape(), and GHOST_IWindow::setCursorShape().

Referenced by GHOST_SetCursorShape().

      GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;

      return window->setCursorShape(cursorshape);

Generated by  Doxygen 1.6.0   Back to index