|
Size: 959
Comment: update content - w/ Sam; remove draft
|
Size: 958
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 22: | Line 22: |
| Returns the new cursor on success, or NULL on failure; call [[SDL_GetError]]() for more information. | Returns the new cursor on success or NULL on failure; call [[SDL_GetError]]() for more information. |
SDL_CreateColorCursor
Use this function to create a color cursor.
Contents
Syntax
SDL_Cursor* SDL_CreateColorCursor(SDL_Surface* surface,
int hot_x,
int hot_y)
Function Parameters
surface |
an SDL_Surface structure representing the cursor image |
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
