|
Size: 1011
Comment: update content (old wiki)
|
Size: 1013
Comment: update content - pointers, structs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''cursor'''||the SDL_Cursor to apply <<Color2(green,(Should this be linked to Remarks?))>>|| | ||'''cursor'''||the cursor to make active <<Color2(green,(Should this be linked to Remarks?))>>|| |
DRAFT |
SDL_SetCursor
Use this function to set the active cursor.
Syntax
void SDL_SetCursor(SDL_Cursor* cursor)
Function Parameters
cursor |
the cursor to make active green |
Code Examples
*
int main(int argc, char** argc) {
SDL_ShowCursor(SDL_DISABLE);
...
}
/* 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.
*
