Text drawing working
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@26 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
28e0cdbaf1
commit
97c2c93537
2
graph.c
2
graph.c
@ -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++)
|
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);
|
Afficher_ligne(X,Reel_Y++,Largeur,Buffer_de_ligne_horizontale);
|
||||||
}
|
}
|
||||||
puts("GENERAL");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Afficher un caractère dans une fenêtre --
|
// -- 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),
|
Block(Pos_X+(X*Menu_Facteur_X), Pos_Y+(Y*Menu_Facteur_Y),
|
||||||
Menu_Facteur_X, Menu_Facteur_Y, Couleur);
|
Menu_Facteur_X, Menu_Facteur_Y, Couleur);
|
||||||
}
|
}
|
||||||
puts("FENETRE");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Afficher une chaŒne dans une fenêtre --
|
// -- Afficher une chaŒne dans une fenêtre --
|
||||||
|
|||||||
@ -94,7 +94,7 @@ void Afficher_une_ligne_ecran_SDL (word Pos_X,word Pos_Y,word Largeur,byte *
|
|||||||
int i;
|
int i;
|
||||||
for(i=0;i<Largeur;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);
|
SDL_UpdateRect(Ecran_SDL,Pos_X,Pos_Y,Largeur,1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user