allegro_init(); set_color_depth(16) ; set_gfx_mode(GFX_AUTODETEC_WINDOWED , 800, 600, 0, 0);
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionset_gfx_mode(GFX_AUTODETECT_WINDOWED , 800, 600, 0, 0);
void textprintf(BITMAP *bmp, const FONT *f, int x, y, color, const char *fmt, ...); void textout(BITMAP *bmp, const FONT *f, const char *s, int x, y, int color);
textprintf(screen,font,0, 0, makecol(255,255,255),salut tout le mon%d", 2);//screen est un BITMAP cree avec setgfxmode et makecol permet de cree une couleur a partir des composante rgb; textout(screnn,font, "salut tout le mon2,0, 0,makecol(255,255,255));