Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2014-01-11 19:04:10
Size: 986
Comment: Removed old comment and added the link to remarks.
Revision 11 as of 2014-10-04 06:56:05
Size: 896
Editor: RyanGordon
Comment: Removed incorrect code example, readded stock WRITEME text for now.
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
int main(int argc, char** argv) {
    SDL_ShowCursor(SDL_DISABLE);
    ...
    return 0;
}
/* creates a blank cursor */
You can add your code example here

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; see Remarks for details

Code Examples

You can add your code example here

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.


CategoryAPI, CategoryMouse

None: SDL_SetCursor (last edited 2014-10-04 06:56:05 by RyanGordon)

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