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

@@ -1730,7 +1730,7 @@ short Attendre_click_dans_palette(struct Fenetre_Bouton_palette * Enreg)
}
}
if ((Mouse_K==A_DROITE) || (Touche==SDLK_ESCAPE))
if ((Mouse_K==A_DROITE) || (Touche==TOUCHE_ESC))
{
Attendre_fin_de_click();
Effacer_curseur();
@@ -1823,7 +1823,7 @@ void Recuperer_couleur_derriere_fenetre(byte * Couleur, byte * Click)
Ancien_X=Mouse_X;
Ancien_Y=Mouse_Y;
} while (!(Mouse_K || (Touche==SDLK_ESCAPE)));
} while (!(Mouse_K || (Touche==TOUCHE_ESC)));
if (Mouse_K)
{