delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/27/04:23:34

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro Example 15...
Date: Sat, 27 May 2000 11:15:53 +0400
Organization: MTU-Intel ISP
Lines: 24
Message-ID: <392F7629.4B87F7D9@mtu-net.ru>
References: <89KX4.2767$D%2 DOT 66299 AT news1 DOT news DOT adelphia DOT net>
NNTP-Posting-Host: ppp110-219.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 959411738 87836 212.188.110.219 (27 May 2000 07:15:38 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 27 May 2000 07:15:38 GMT
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: ru,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Justin Szczap wrote:
> 
> Hi,
>  Has anyone tried out the 'example 15' that's included with Allegro? It's
> meant to display a bitmap, and it gives me the same problem that I'm having
> when trying to display a bitmap in my own code. 

Have you tried other bitmaps? Ex#15 works fine with bitmaps that come with
Allegro and bitmaps from my C:\Windows\ directory.

> It'll display and center the
> bitmap perfectly, but the 'background'? is that ugly purple/pink color,
> which I believe represents what should be transparent. What the heck am I
> doing wrong? Here's my code...

I think you code is okay. Something wrong is with yout image. Is it big
(<=30KB)? I mean is it possible to send it via e-mali to see?

bye.
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

- Raw text -


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