Wiki Page Content

Differences between revisions 7 and 8
Revision 7 as of 2013-09-01 18:28:10
Size: 794
Comment: Updated usage of Color2 macro.
Revision 8 as of 2014-05-11 14:11:14
Size: 702
Comment: Removed old formatting, old comments (there is no error return) and ???.
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
Returns the active cursor ^or NULL if there is no mouse^.

<<Color2(col=green,text="Call for error?")>>
Returns the active cursor or NULL if there is no mouse.
Line 26: Line 24:
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''
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]]().
Line 31: Line 27:
 .[[SDL_SetCursor]]???  .[[SDL_SetCursor]]

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.

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().


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