Update du chargement d'images et convert du background

This commit is contained in:
Mathieu PROAL 2022-11-21 16:54:55 +01:00
parent 911c730f72
commit 8634bb991a
3 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

BIN
Images/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 KiB

View File

@ -6,9 +6,10 @@ int main(void){
InitialiserGraphique();
ChoisirEcran(0);
CreerFenetre(150,150,500,500);
FILE* background;
background=fopen("Images/background.jpg", "r");
void ChargerImageFond(char *background);
/*FILE* background;
background=fopen("Images/background.jpg", "x");
FILE*/
ChargerImage("Images/background.png",0,0,0,0,500,500);
Touche();