ajout terrain
This commit is contained in:
parent
8b617986dc
commit
29e1ce6505
@ -2,15 +2,21 @@
|
||||
#include <stdio.h>
|
||||
#include <graph.h>
|
||||
|
||||
#define HAUTEUR 40
|
||||
#define LARGEUR 60
|
||||
|
||||
int AfficherRectangle(){
|
||||
InitialiserGraphique();
|
||||
CreerFenetre(10,10,1500,1000);
|
||||
DessinerRectangle(20,20,1450, 950);
|
||||
ChoisirCouleurDessin(CouleurParComposante(0,0,0));
|
||||
RemplirRectangle(0,0,1500,1000);
|
||||
ChoisirCouleurDessin(CouleurParComposante(73,162,37));
|
||||
RemplirRectangle(20,20,1450, 800);
|
||||
Touche();
|
||||
FermerGraphique();
|
||||
}
|
||||
int main(){
|
||||
AfficherRectangle();
|
||||
ChoisirCouleurDessin(104,225,55);
|
||||
AfficherCadrillage();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user