From 1b2212f447dfc87fa97c4a975243c95e3a3e007a Mon Sep 17 00:00:00 2001 From: Axel Pietrois Date: Tue, 22 Nov 2022 17:25:18 +0100 Subject: [PATCH] =?UTF-8?q?Tests=20pour=20faire=20une=20grille=20(Pas=20en?= =?UTF-8?q?core=20adaptable=20=C3=A0=20la=20taille=20de=20la=20fenetre)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test.c diff --git a/test.c b/test.c new file mode 100644 index 0000000..14d12b7 --- /dev/null +++ b/test.c @@ -0,0 +1,19 @@ +#include +#include + + +int main(void){ + int i,j; + InitialiserGraphique(); + CreerFenetre(10,10,1000,1000); + ChoisirCouleurDessin(CouleurParComposante(255,0,0)); + for (i=1;i<6;i+=1){ + for (j=1;j<6;j+=1){ + RemplirRectangle(i*100,j*100,50,50); + } + } + Touche(); + FermerGraphique(); + return EXIT_SUCCESS; +} +