Implemented SDL_SetWindowIcon(), with translucent icon support under X11.

This commit is contained in:
Sam Lantinga
2009-01-02 17:39:48 +00:00
parent c6b2499d3c
commit 7f3d6deffd
11 changed files with 105 additions and 51 deletions

View File

@@ -591,13 +591,13 @@ extern DECLSPEC void SDLCALL SDL_SetWindowTitle(SDL_WindowID windowID,
extern DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_WindowID windowID);
/**
* \fn void SDL_SetWindowIcon(SDL_Surface *icon)
* \fn void SDL_SetWindowIcon(SDL_WindowID windowID, SDL_Surface *icon)
*
* \brief Set the icon of the window.
*
* \param icon The icon for the window
*/
extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Surface * icon);
extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_WindowID windowID, SDL_Surface * icon);
/**
* \fn void SDL_SetWindowData(SDL_WindowID windowID, void *userdata)