Tao.Sdl SDK Documentation

Sdl.SDL_SetCursor Method 

Set the currently active cursor to the specified one.

[Visual Basic]
Public Shared Function SDL_SetCursor( _
   ByRef cursor As SDL_Cursor _
) As IntPtr
[C#]
public static IntPtr SDL_SetCursor(
   ref SDL_Cursor cursor
);

Parameters

cursor

Return Value

Remarks

Sets the currently active cursor to the specified one. If the cursor is currently visible, the change will be immediately represented on the display.

Binds to C-function call in SDL_mouse.h:

            void *SDL_SetCursor(SDL_Cursor *cursor);
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_GetCursor | SDL_CreateCursor | SDL_ShowCursor