cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/29/11:25:24

From: "Matej" <matej DOT baric AT guest DOT arnes DOT si>
Newsgroups: comp.os.msdos.djgpp
Subject: allegro colors and palettes?
Date: Wed, 29 Dec 1999 16:38:14 +0100
Organization: ARNES
Lines: 12
Message-ID: <84da0n$ajt$1@planja.arnes.si>
NNTP-Posting-Host: po4-194i.dial-up.arnes.si
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2417.2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,
I'm a beginner with all this stuff so I'm a bit confused about some things:
1. What for is defining a pallete (int my case I declared PALLETE pal) in
function load_bitmap(bmp, pal) needed? And after that calling the
set_pallete(pal) function? If I write those statements, the background color
will be magenta and all the indexes of colors are mixed (eg. before color
no. 1 was blue, no. 4 was red...) Anyone can explain these things to me? (I
haven't found such explanations in any tutorial...)
Thanks for help,
Matej


- Raw text -


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