Mail Archives: djgpp/2001/06/10/04:31:02.1
From: | vandyrk AT gmx DOT de (Dirk Pawlowski)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: [Allegro] Small Question
|
Date: | 10 Jun 2001 08:15:29 GMT
|
Lines: | 26
|
Message-ID: | <Xns90BC687BE5A33vandyrkgmxde@user.dfncis.de>
|
References: | <ssvU6.978$ac3 DOT 3341 AT newsfeed DOT slurp DOT net>
|
NNTP-Posting-Host: | dialin-port15700.access.nacamar.de (62.27.194.83)
|
Mime-Version: | 1.0
|
X-Trace: | fu-berlin.de 992160929 6360967 62.27.194.83 (16 [88819])
|
X-Posting-Agent: | Hamster/1.3.22.0
|
User-Agent: | Xnews/4.05.11
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Am 10 Jun 2001 erfreute uns "Brent Ritchie" <azreal AT cyberbeach DOT net> mit
folgenden Beitrag (news:ssvU6.978$ac3 DOT 3341 AT newsfeed DOT slurp DOT net):
> Hello,
>
> I Was just wondering I want to make a dot on the screen but it
> dosent
> want to show up here is my code:
>
[snip]
> BITMAP *b=create_bitmap(640,480);
> putpixel(b,240,445,1);
[snip]
> Any suggestions?
You're drawing a pixel to b. Okay! But b ist only a pointer to the
memory. So either you draw directly to the screen using the system
pointer screen
putpixel(screen,240,445,1);
or you copy your pointer b to screen. But I actually not know how this
will work.
Tot ziens
dirk - www.vandyrk.de
--
DIE Fussball-Liste... anmelden unter
http://groups.yahoo.com/group/fussball-liste
- Raw text -