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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user