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:
4
moteur.c
4
moteur.c
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user