comparison include/SDL_video.h @ 2967:e4a469d6ddab

Implemented SDL_SetWindowIcon(), with translucent icon support under X11.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 02 Jan 2009 17:39:48 +0000
parents 9f16a1761fa5
children 502adab079a4
comparison
equal deleted inserted replaced
2966:c1e3621ba959 2967:e4a469d6ddab
589 * \sa SDL_SetWindowTitle() 589 * \sa SDL_SetWindowTitle()
590 */ 590 */
591 extern DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_WindowID windowID); 591 extern DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_WindowID windowID);
592 592
593 /** 593 /**
594 * \fn void SDL_SetWindowIcon(SDL_Surface *icon) 594 * \fn void SDL_SetWindowIcon(SDL_WindowID windowID, SDL_Surface *icon)
595 * 595 *
596 * \brief Set the icon of the window. 596 * \brief Set the icon of the window.
597 * 597 *
598 * \param icon The icon for the window 598 * \param icon The icon for the window
599 */ 599 */
600 extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Surface * icon); 600 extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_WindowID windowID, SDL_Surface * icon);
601 601
602 /** 602 /**
603 * \fn void SDL_SetWindowData(SDL_WindowID windowID, void *userdata) 603 * \fn void SDL_SetWindowData(SDL_WindowID windowID, void *userdata)
604 * 604 *
605 * \brief Associate an arbitrary pointer with the window. 605 * \brief Associate an arbitrary pointer with the window.