Ajout d'une super-icône en pixel art réalisée par moi (le codeur) !

This commit is contained in:
Georges Dupéron 2010-09-26 02:07:15 +02:00
parent 4ef36e3722
commit 9b90e96f0b
2 changed files with 2 additions and 1 deletions

BIN
icone.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

3
main.c
View File

@ -15,7 +15,8 @@ SDL_Surface* init() {
if (fenetre == NULL) {
die("Erreur lors de la création de la fenêtre.");
}
SDL_WM_SetCaption("Lew", "lew.png");
SDL_WM_SetCaption("Lew", NULL);
SDL_WM_SetIcon(SDL_LoadBMP("icone.bmp"), NULL);
SDL_FillRect(fenetre, NULL, SDL_MapRGB(fenetre->format, 0, 0, 0));
SDL_Flip(fenetre);