From: Fanie Buys Newsgroups: comp.os.msdos.djgpp Subject: Re: Palettes *PLEASE HELP* Date: Sun, 21 Mar 1999 04:05:41 +0200 Organization: The South African Internet Exchange Lines: 68 Message-ID: <36F453F5.E88675AE@dockside.co.za> References: <36DEB232 DOT C8C15B34 AT xyz DOT com> NNTP-Posting-Host: ctb53-01-p72.wc.saix.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------D19C63C42FE2C53BD1BCEB97" X-Trace: news3.saix.net 921982032 27002 196.15.179.72 (21 Mar 1999 02:07:12 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 21 Mar 1999 02:07:12 GMT X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com --------------D19C63C42FE2C53BD1BCEB97 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Easy. DeHacked already showed you 1 way. Here is the other. If you're using datafiles, you just use grabber to *Grab* the palette from the bitmap in memory. Do this: 1. Click new...Palette 2. Give it a name and crap 3. Now click on File, Read Bitmap 4. Load your bitmap 5. Click on the palette entry (the one you just made) in the list. 6. Click Grab 7. You'll get a silly dialogue telling you the obvious Ta Da! Now you just put a: set_palette(data[1].dat); Or whatever it's ID is...you know. Hope I helped! Scorpion --------------D19C63C42FE2C53BD1BCEB97 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Easy. DeHacked already showed you 1 way. Here is the other.

If you're using datafiles, you just use grabber to *Grab* the palette from the bitmap in memory. Do this:

  1. Click new...Palette
  2. Give it a name and crap
  3. Now click on File, Read Bitmap
  4. Load your bitmap
  5. Click on the palette entry (the one you just made) in the list.
  6. Click Grab
  7. You'll get a silly dialogue telling you the obvious
Ta Da!

Now you just put a:
    set_palette(data[1].dat);

Or whatever it's ID is...you know.
Hope I helped!

Scorpion --------------D19C63C42FE2C53BD1BCEB97--