From a5fd2a2ee18adbc9b593bd115806bcdd97dc1d0c Mon Sep 17 00:00:00 2001 From: rohaut Date: Tue, 21 Nov 2023 15:33:24 +0100 Subject: [PATCH] couleurs --- JEUX_SERPENT/main.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/JEUX_SERPENT/main.c b/JEUX_SERPENT/main.c index b4b03e6..4c6e3fa 100644 --- a/JEUX_SERPENT/main.c +++ b/JEUX_SERPENT/main.c @@ -8,17 +8,13 @@ int main(){ CreerFenetre(10,10,1200,800); /* Couleur de la fenĂȘtre */ - couleur CouleurParComposante(unsigned char r, unsigned char v, unsigned char b); - couleur c; - c=CouleurParComposante(0,0,0); - EffacerEcran(c); - c=CouleurParComposante(141,199,63); - ChoisirCouleurDessin(c); + EffacerEcran(CouleurParComposante(0,0,0)); + ChoisirCouleurDessin(CouleurParComposante(141,199,63)); RemplirRectangle(10,10,1180,700); /* fermeture de la fenĂȘtre */ Touche(); FermerGraphique(); - return EXIT_SUCCESS; + return EXIT_SUCCESS; } \ No newline at end of file