SAE11_2023/SAE_semestre1/src/menu.c

25 lines
516 B
C
Raw Normal View History

#include <stdlib.h>
#include <stdio.h>
#include "../fichier.h/menu.h"
int MenuDebut(){
InitialiserGraphique();
EcrireTexte(1000,760,"Score", 2);
}
int menu(){
while(menu){
while(ToucheEnAttente()){
t = Touche();
switch(t3){
case XK_q :
FermerGraphique();
return EXIT_SUCCESS;
return;
case XK_Right :
menu = 0;
return
}
}
}
}