|
Size: 1000
Comment: Removed * and BR.
|
Size: 1013
Comment: Removed spaces in example and added return statement.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 22: | Line 22: |
| SDL_ShowCursor(SDL_DISABLE); ... |
SDL_ShowCursor(SDL_DISABLE); ... return 0; |
DRAFT |
SDL_SetCursor
Use this function to set the active cursor.
Syntax
void SDL_SetCursor(SDL_Cursor* cursor)
Function Parameters
cursor |
a cursor to make active (Should this be linked to Remarks?) |
Code Examples
int main(int argc, char** argv) {
SDL_ShowCursor(SDL_DISABLE);
...
return 0;
}
/* creates a blank cursor */
Remarks
This function sets the currently active cursor to the specified one. If the cursor is currently visible, the change will be immediately represented on the display. SDL_SetCursor(NULL) can be used to force cursor redraw, if this is desired for any reason.
