Wiki Page Content

Revision 1 as of 2011-03-18 19:08:34

Clear message

DRAFT

SDL_CreateColorCursor

Use this function to create a color cursor.

Syntax

SDL_Cursor* SDL_CreateColorCursor(SDL_Surface* surface,
                                  int          hot_x,
                                  int          hot_y)

Function Parameters

surface

an SDL_Surface structure representing the cursor

hot_x

the x position of the cursor hot spot

hot_y

the y position of the cursor hot spot

Return Value

Returns the new cursor on success, or NULL on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here

green


CategoryAPI, CategoryMouse

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