[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SDL_Surface *IMG_LoadCUR_RW(SDL_RWops *src)
Load src as a Windows Cursor image for use as a surface, if BMP support is compiled into the SDL_image library. The CUR's mask is put into to per pixel alpha in the surface. For files with multiple images, the first one found with the highest color count is chosen.
Returns: a pointer to the image as a new SDL_Surface
. NULL is returned on errors, like if BMP is not supported, or a read error.
|
See Also:
3.2.3 IMG_LoadTyped_RW,
3.3.1 IMG_isCUR