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:
Adrien Destugues
2009-01-31 11:33:18 +00:00
parent 0f4776d4a6
commit 6dd54a1686
11 changed files with 229 additions and 81 deletions

View File

@@ -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();