Support for ESC shortcut on GP2X (button X)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@591 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-02-04 01:27:04 +00:00
parent aaec8fd8a5
commit da942a7021
9 changed files with 47 additions and 41 deletions

View File

@@ -696,7 +696,7 @@ byte Demande_de_confirmation(char * Message)
{
Bouton_clicke=Fenetre_Bouton_clicke();
if (Touche==SDLK_RETURN) Bouton_clicke=1;
if (Touche==SDLK_ESCAPE) Bouton_clicke=2;
if (Touche==TOUCHE_ESC) Bouton_clicke=2;
}
while (Bouton_clicke<=0);
Touche=0;
@@ -728,7 +728,7 @@ void Warning_message(char * Message)
do
Bouton_clicke=Fenetre_Bouton_clicke();
while ((Bouton_clicke<=0) && (Touche!=SDLK_ESCAPE) && (Touche!=SDLK_o));
while ((Bouton_clicke<=0) && (Touche!=TOUCHE_ESC) && (Touche!=SDLK_o));
Touche=0;
Fermer_fenetre();