debut du menu
This commit is contained in:
parent
a634f2c222
commit
ac65a7872c
23
menu.c
Normal file
23
menu.c
Normal file
@ -0,0 +1,23 @@
|
||||
#include<stdio.h>
|
||||
#include<stdlib.h>
|
||||
#include<graph.h>
|
||||
//nombre de paire min = 4
|
||||
|
||||
void main(void){
|
||||
char *choix="Coucou";
|
||||
InitialiserGraphique();
|
||||
CreerFenetre(0,0,1024,576);
|
||||
couleur c=CouleurParComposante(255,255,255);
|
||||
ChoisirCouleurDessin(c);
|
||||
ChargerImage("Images/background.png",0,0,0,0,1024,576);
|
||||
DessinerRectangle(300,10,300,50);
|
||||
RemplirRectangle(300,10,300,50);
|
||||
DessinerRectangle(300,300,300,50);
|
||||
RemplirRectangle(300,300,300,50);
|
||||
c=CouleurParComposante(0,0,0);
|
||||
ChoisirCouleurDessin(c);
|
||||
EcrireTexte(300,30,"Jeu de Paires",2);
|
||||
EcrireTexte(400,335,choix,1);
|
||||
Touche();
|
||||
FermerGraphique();
|
||||
}
|
Loading…
Reference in New Issue
Block a user