Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-08-13 04:06:16
Size: 649
Editor: SheenaSmith
Comment: update content - changeset 4465
Revision 3 as of 2010-08-28 23:20:40
Size: 1011
Editor: SheenaSmith
Comment: update content (old wiki)
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
*
Line 20: Line 21:
You can add your code example here int main(int argc, char** argc) {
     SDL_ShowCursor(SDL_DISABLE);
     ...
}
/* creates a blank cursor */
Line 24: Line 29:
''You can add useful comments here'' *<<BR>>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. <<BR>>*
Line 27: Line 32:
 .[[SDL_CreateCursor]] ???  .[[SDL_CreateCursor]] *
 .[[SDL_GetCursor]] *
 .[[SDL_ShowCursor]] *

DRAFT

SDL_SetCursor

Use this function to set the active cursor.

Syntax

void SDL_SetCursor(SDL_Cursor* cursor)

Function Parameters

cursor

the SDL_Cursor to apply 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.
*


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