Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

SDL_WM_SetIcon - Sets the icon for the display window.

Description

       Sets the icon for the display window. Win32 icons must be 32x32.

       This function must be called before the first call to SDL_SetVideoMode.

       It takes an icon surface, and a mask in MSB format.

       If mask is NULL, the entire icon surface will be used as the icon.

Example

       SDL_WM_SetIcon(SDL_LoadBMP("icon.bmp"), NULL);

Name

       SDL_WM_SetIcon - Sets the icon for the display window.

See Also

SDL_SetVideoMode, SDL_WM_SetCaption

SDL                                          Tue 11 Sep 2001, 23:02                            SDL_WM_SetIcon(3)

Synopsis

#include"SDL.h"voidSDL_WM_SetIcon(SDL_Surface*icon,Uint8*mask);

See Also