Disables keyboard on "Attendre_fin_de_clic", so we no longer need to empty the event loop.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@593 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
12
divers.c
12
divers.c
@@ -94,6 +94,7 @@ void Set_color(byte Couleur, byte Rouge, byte Vert, byte Bleu)
|
||||
SDL_SetPalette(Ecran_SDL, SDL_LOGPAL, &comp, Couleur, 1);
|
||||
}
|
||||
|
||||
/*
|
||||
void Attendre_fin_de_click(void)
|
||||
{
|
||||
SDL_Event event;
|
||||
@@ -115,6 +116,17 @@ void Attendre_fin_de_click(void)
|
||||
Mouse_K=0;
|
||||
INPUT_Nouveau_Mouse_K=0;
|
||||
}
|
||||
*/
|
||||
|
||||
void Attendre_fin_de_click(void)
|
||||
{
|
||||
// On désactive tous les raccourcis clavier
|
||||
Desactiver_clavier=1;
|
||||
|
||||
// On force la souris à se mettre à 0
|
||||
Mouse_K=0;
|
||||
INPUT_Nouveau_Mouse_K=0;
|
||||
}
|
||||
|
||||
void Effacer_image_courante_Stencil(byte Couleur, byte * Pochoir)
|
||||
//Effacer l'image courante avec une certaine couleur en mode Stencil
|
||||
|
||||
Reference in New Issue
Block a user