Some fixes to get_input : allows to move windows.
Touche is now resetted to 0 only when a shortcut is processed. So you can let it at the key value for cursor moves, for example. But it does not work, i must have missed something :/ git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@577 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -699,6 +699,7 @@ byte Demande_de_confirmation(char * Message)
|
||||
if (Touche==SDLK_ESCAPE) Bouton_clicke=2;
|
||||
}
|
||||
while (Bouton_clicke<=0);
|
||||
Touche=0;
|
||||
|
||||
Fermer_fenetre();
|
||||
Afficher_curseur();
|
||||
@@ -728,6 +729,7 @@ void Warning_message(char * Message)
|
||||
do
|
||||
Bouton_clicke=Fenetre_Bouton_clicke();
|
||||
while ((Bouton_clicke<=0) && (Touche!=SDLK_ESCAPE) && (Touche!=SDLK_o));
|
||||
Touche=0;
|
||||
|
||||
Fermer_fenetre();
|
||||
Afficher_curseur();
|
||||
|
||||
Reference in New Issue
Block a user