www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/10/02:24:46

Message-Id: <199812100724.CAA25049@delorie.com>
From: "Robert Darmochwal" <robertd AT aldec DOT katowice DOT pl>
To: <djgpp AT delorie DOT com>
Subject: Re: Display a picture!
Date: Thu, 10 Dec 1998 08:23:29 +0100
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

off hand:


#include <allegro.h>

main(){
	allegro_init();
	install_timer();
	install_keyboard();

	set_gfx_mode(GFX_AUTODETECT,320,200,0,0);

	bmp=load_bitmap("foo.bmp");

	blit(bmp,screen,0,0,0,0,320,200);
	while(!key[KEY_SPACE]);
}

----------
> From: Claes Ericson <coboltski AT telia DOT com>
> To: djgpp AT delorie DOT com
> Subject: Display a picture!
> Date: Wednesday, December 09, 1998 7:36 PM
> 
> Does anyone have a small source code for displaying a picture (in any
> format) in DJGPP without using Allegro?
> 
> /g3tch

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019