Set the icon for a window.
Defined in SDL_video.h, but apps should only #include "SDL.h"
!
void SDL_SetWindowIcon(SDL_Window * window,
SDL_Surface * icon);
window | the window to change |
icon | an SDL_Surface structure containing the icon for the window |
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction