Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2011-11-04 05:22:39
Size: 759
Editor: SheenaSmith
Comment: update content - per Sam (remarks)
Revision 6 as of 2011-11-04 05:28:47
Size: 783
Editor: SheenaSmith
Comment: update content - return value from source
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
Returns the active cursor. Returns the active cursor ^or NULL if there is no mouse^.
Line 18: Line 18:
<<Color2(green,What happens on error?)>> <<Color2(green,Call for error?)>>

DRAFT

SDL_GetCursor

Use this function to return the active cursor.

Syntax

SDL_Cursor* SDL_GetCursor(void)

Return Value

Returns the active cursor or NULL if there is no mouse.

green

Code Examples

You can add your code example here

Remarks

This function returns a pointer to the current cursor which is owned by the library. It is not necessary to free the cursor with SDL_FreeCursor()

You can add useful comments here


CategoryAPI, CategoryMouse

None: SDL_GetCursor (last edited 2016-05-14 22:19:23 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit