2023-12-14 15:00:02 +01:00
|
|
|
#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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|