Text drawing working

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@26 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2007-09-20 16:07:02 +00:00
parent 28e0cdbaf1
commit 97c2c93537
2 changed files with 1 additions and 3 deletions

View File

@ -1328,7 +1328,6 @@ void Print_general(short X,short Y,char * Chaine,byte Couleur_texte,byte Couleur
for (Repeat_Menu_Facteur_Y=0;Repeat_Menu_Facteur_Y<Menu_Facteur_Y;Repeat_Menu_Facteur_Y++)
Afficher_ligne(X,Reel_Y++,Largeur,Buffer_de_ligne_horizontale);
}
puts("GENERAL");
}
// -- Afficher un caractère dans une fenêtre --
@ -1363,7 +1362,6 @@ void Print_char_transparent_dans_fenetre(short Pos_X,short Pos_Y,char Caractere,
Block(Pos_X+(X*Menu_Facteur_X), Pos_Y+(Y*Menu_Facteur_Y),
Menu_Facteur_X, Menu_Facteur_Y, Couleur);
}
puts("FENETRE");
}
// -- Afficher une chaŒne dans une fenêtre --

View File

@ -94,7 +94,7 @@ void Afficher_une_ligne_ecran_SDL (word Pos_X,word Pos_Y,word Largeur,byte *
int i;
for(i=0;i<Largeur;i++)
{
Pixel_SDL_Fast(Ecran_SDL,Pos_X+i,Pos_Y);
Pixel_SDL_Fast(Pos_X+i,Pos_Y,*(Ligne+i));
}
SDL_UpdateRect(Ecran_SDL,Pos_X,Pos_Y,Largeur,1);
}