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:
6
shade.c
6
shade.c
@@ -901,6 +901,7 @@ int Menu_Shade(void)
|
||||
Afficher_couleur_selectionnee(Premiere_couleur,Derniere_couleur);
|
||||
Afficher_curseur();
|
||||
}
|
||||
Touche=0;
|
||||
break;
|
||||
|
||||
case SDLK_UP : // Select Haut
|
||||
@@ -948,6 +949,7 @@ int Menu_Shade(void)
|
||||
Afficher_couleur_case_selectionnee(Select_Debut,Select_Debut);
|
||||
Afficher_curseur();
|
||||
}
|
||||
Touche=0;
|
||||
break;
|
||||
|
||||
case SDLK_BACKQUOTE : // Récupération d'une couleur derrière le menu
|
||||
@@ -970,10 +972,14 @@ int Menu_Shade(void)
|
||||
|
||||
Afficher_curseur();
|
||||
}
|
||||
Touche=0;
|
||||
break;
|
||||
default:
|
||||
if (Touche==Bouton[BOUTON_AIDE].Raccourci_gauche)
|
||||
{
|
||||
Touche=0;
|
||||
Fenetre_aide(BOUTON_EFFETS, "SHADE");
|
||||
}
|
||||
}
|
||||
}
|
||||
while ((Bouton_clicke!=4) && (Bouton_clicke!=5));
|
||||
|
||||
Reference in New Issue
Block a user