Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TSuccess GHOST_SetCursorVisibility ( GHOST_WindowHandle  windowhandle,
int  visible 
)

Shows or hides the cursor.

Parameters:
windowhandle The handle to the window
visible The new visibility state of the cursor.
Returns:
Indication of success.

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

References GHOST_SetCursorVisibility(), and GHOST_IWindow::setCursorVisibility().

Referenced by GHOST_SetCursorVisibility().

{
      GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;

      return window->setCursorVisibility(visible?true:false);
}


Generated by  Doxygen 1.6.0   Back to index