ajout de images.h modif images.c main.c
This commit is contained in:
parent
a68eefabff
commit
eee1659de2
8
images.c
8
images.c
@ -1,8 +1,10 @@
|
||||
#include<stdio.h>
|
||||
#include<stdlib.h>
|
||||
#include<graph.h>
|
||||
#include "images.h"
|
||||
|
||||
int main(void){
|
||||
|
||||
void chargement(void){
|
||||
InitialiserGraphique();
|
||||
ChoisirEcran(0);
|
||||
CreerFenetre(0,0,1024,576);
|
||||
@ -40,9 +42,5 @@ int main(void){
|
||||
ChargerImage("Images/image00.png",260,160,0,0,40,40);
|
||||
ChargerImage("Images/image00.png",310,160,0,0,40,40);
|
||||
ChargerImage("Images/image00.png",360,160,0,0,40,40);
|
||||
Touche();
|
||||
|
||||
|
||||
FermerGraphique();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
6
images.h
Normal file
6
images.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef IMAGES_H
|
||||
#define IMAGES_H
|
||||
|
||||
void chargement(void);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user