When you use a keyboard shortcut to activate a window button (ex: ESC), it shows it's activated.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@611 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
2efe96f1a8
commit
8aadfe3732
16
moteur.c
16
moteur.c
@ -2217,7 +2217,19 @@ short Fenetre_Numero_bouton_touche(void)
|
|||||||
while (Temp!=NULL)
|
while (Temp!=NULL)
|
||||||
{
|
{
|
||||||
if (Temp->Raccourci==Touche)
|
if (Temp->Raccourci==Touche)
|
||||||
|
{
|
||||||
|
Effacer_curseur();
|
||||||
|
Fenetre_Enfoncer_bouton_normal(Temp->Pos_X,Temp->Pos_Y,Temp->Largeur,Temp->Hauteur);
|
||||||
|
Afficher_curseur();
|
||||||
|
|
||||||
|
Tempo_jauge(Config.Valeur_tempo_jauge_droite);
|
||||||
|
|
||||||
|
Effacer_curseur();
|
||||||
|
Fenetre_Desenfoncer_bouton_normal(Temp->Pos_X,Temp->Pos_Y,Temp->Largeur,Temp->Hauteur);
|
||||||
|
Afficher_curseur();
|
||||||
|
|
||||||
return Temp->Numero;
|
return Temp->Numero;
|
||||||
|
}
|
||||||
Temp=Temp->Next;
|
Temp=Temp->Next;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2266,8 +2278,8 @@ short Fenetre_Bouton_clicke(void)
|
|||||||
Bouton=Fenetre_Numero_bouton_touche();
|
Bouton=Fenetre_Numero_bouton_touche();
|
||||||
if (Bouton)
|
if (Bouton)
|
||||||
{
|
{
|
||||||
Touche=0;
|
Touche=0;
|
||||||
return Bouton;
|
return Bouton;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user