Create a color cursor.
Defined in SDL_mouse.h
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 |
Returns the new cursor on success or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.