.
This commit is contained in:
commit
54bcd9cd6c
Binary file not shown.
@ -1,29 +0,0 @@
|
|||||||
#include<stdlib.h>
|
|
||||||
#include<graph.h>
|
|
||||||
|
|
||||||
int main(){
|
|
||||||
|
|
||||||
/* taille de la fenêtre */
|
|
||||||
InitialiserGraphique();
|
|
||||||
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);
|
|
||||||
RemplirRectangle(10,10,1180,700);
|
|
||||||
|
|
||||||
/* affichage du timer */
|
|
||||||
c=CouleurParComposante(255,255,255);
|
|
||||||
ChoisirCouleurDessin(c);
|
|
||||||
EcrireTexte(10,770,"Hello World !",2);
|
|
||||||
|
|
||||||
|
|
||||||
/* fermeture de la fenêtre */
|
|
||||||
Touche();
|
|
||||||
FermerGraphique();
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user