Fixed mouse cursor in text input (Readline(), recent problems)

Fixed refresh problem when rotating a brush outside of screen limits (bug in 98%)
Fixed Palette window having 'S' as shortcut for 2 functions.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@612 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-02-08 00:46:42 +00:00
parent 8aadfe3732
commit 1ed8852d64
7 changed files with 21 additions and 43 deletions

View File

@@ -596,23 +596,6 @@ void Scroll_picture(short Decalage_X,short Decalage_Y)
UpdateRect(0,0,0,0);
}
word Get_key(void)
{
SDL_Event event;
Attendre_fin_de_click(); // On prend le controle de la boucle d'évènements, donc il ne faut pas qu'on rate la fin de click !
while(1)
{
SDL_WaitEvent(&event);
if(event.type == SDL_KEYDOWN)
{
return Conversion_ANSI(event.key.keysym);
}
else
Gere_Evenement_SDL(&event);
}
}
void Zoomer_une_ligne(byte* Ligne_originale, byte* Ligne_zoomee,
word Facteur, word Largeur
)