From ee6106d80fc25130cdab5114f193ea8fa783bf4a Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 4 Oct 2008 20:37:09 +0000 Subject: [PATCH] XOR lines when moving windows git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@194 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- gfx2.cfg | Bin 10367 -> 10367 bytes moteur.c | 4 ++++ 2 files changed, 4 insertions(+) diff --git a/gfx2.cfg b/gfx2.cfg index 539c8f77cf7e681291299ec0d08cc16ff5555bed..5aa58312155c7b78ec3413f5d40cadbe5d8096c3 100644 GIT binary patch delta 38 ncmew#@IPQfgPN#=KLZf_2Vy25Zs-T`BqtZLoZg(EF3$)6+^Grg delta 28 hcmew#@IPQfgBmvjBLfip2V$nlg)CP$C#cIa0sx2V2sr=% diff --git a/moteur.c b/moteur.c index 3a281399..aede0a71 100644 --- a/moteur.c +++ b/moteur.c @@ -1619,6 +1619,8 @@ void Deplacer_fenetre(short Dx, short Dy) Ligne_horizontale_XOR(Nouveau_X,Nouveau_Y+Hauteur-1,Largeur); Afficher_curseur(); } + SDL_UpdateRect(Ecran_SDL,Ancien_X,Ancien_Y,Largeur,Hauteur); + SDL_UpdateRect(Ecran_SDL,Nouveau_X,Nouveau_Y,Largeur,Hauteur); } Effacer_curseur(); @@ -1650,6 +1652,8 @@ void Deplacer_fenetre(short Dx, short Dy) Afficher_curseur(); free(Buffer); + + DEBUG("Deplace",0); } else {