From: "23yrold3yrold" Newsgroups: comp.os.msdos.djgpp References: <3a730d46_3 AT corp DOT newsfeeds DOT com> <94vkii$i3n$1 AT nnrp1 DOT deja DOT com> <3a736592_3 AT corp DOT newsfeeds DOT com> <3a7384c5_1 AT corp DOT newsfeeds DOT com> <95035b$t0e$1 AT nnrp1 DOT deja DOT com> Subject: Re: BITMAP info Date: Sun, 28 Jan 2001 10:46:49 -0600 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 64.4.89.12 Message-ID: <3a744bc1_2@corp.newsfeeds.com> X-Trace: corp.newsfeeds.com!newsfeeds.com!crp!anonymous!127.0.0.1!crp 980700097 64.4.89.12 (28 Jan 2001 10:41:37 -0600) X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Organization: Newsfeeds.com http://www.newsfeeds.com 80,000+ UNCENSORED Newsgroups. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Tom St Denis" wrote in message news:95035b$t0e$1 AT nnrp1 DOT deja DOT com... > > You can draw to memory bitmaps (or linear screens) using screen->line[0] as a > pointer to a series of pixels. > > or > > BITMAP *bmp; > bmp = create_bitmap(16, 16); > > *((unsigned char *bmp->line[0])+1) = makecol(0,0,255); > > Sets the second pixel to red. I'll try that; thanks. Chris -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----