|
Size: 794
Comment: Updated usage of Color2 macro.
|
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().
