2023-11-21 13:28:42 +01:00
|
|
|
#include<stdlib.h>
|
|
|
|
#include<graph.h>
|
|
|
|
|
2023-11-21 13:58:39 +01:00
|
|
|
int main(){
|
2023-11-21 14:05:37 +01:00
|
|
|
|
|
|
|
/* taille de la fenêtre */
|
2023-11-21 13:28:42 +01:00
|
|
|
InitialiserGraphique();
|
2023-11-21 13:58:39 +01:00
|
|
|
CreerFenetre(10,10,1200,800);
|
2023-11-21 14:05:37 +01:00
|
|
|
|
|
|
|
/* Couleur de la fenêtre */
|
2023-11-21 15:33:24 +01:00
|
|
|
EffacerEcran(CouleurParComposante(0,0,0));
|
|
|
|
ChoisirCouleurDessin(CouleurParComposante(141,199,63));
|
2023-11-21 13:58:39 +01:00
|
|
|
RemplirRectangle(10,10,1180,700);
|
2023-11-21 14:05:37 +01:00
|
|
|
|
|
|
|
/* fermeture de la fenêtre */
|
2023-11-21 13:58:39 +01:00
|
|
|
Touche();
|
2023-11-21 13:28:42 +01:00
|
|
|
FermerGraphique();
|
2023-11-21 14:05:37 +01:00
|
|
|
|
2023-11-21 15:33:24 +01:00
|
|
|
return EXIT_SUCCESS;
|
2023-11-20 16:39:52 +01:00
|
|
|
}
|