Implemented SDL_SetWindowIcon(), with translucent icon support under X11.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403429
This commit is contained in:
parent
3c555c8843
commit
fea6781d86
11 changed files with 105 additions and 51 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue