Article View: comp.os.os2.programmer
Article #232Please Help Me, How to play with palette???
From: GUYLAIN LAVOIE
Date: Mon, 03 Aug 1992 05:54
Date: Mon, 03 Aug 1992 05:54
38 lines
1461 bytes
1461 bytes
Hi all, I'm in a hurry need of informations on how to set the Palette Table (Colors Palette). It's because i'm writing a Gif reader for a course I take in C++ and I need to have finished in 4 days. Right now, I think that my decoder is working well but I have no idea how to be sure that all is working except to draw the bitmap to the screen! So what I'm in hurry need is to know how to use these functions! GpiCreatePalette GpiSelectPalette GpiDeletePalette GpiQueryPalette GpiUnrealizeColorTable GpiUpdateColors GpiSetPaletteEntries GpiResizePalette GpiRealizeColorTable GpiQueryRGBColor GpiQueryRealColors GpiQueryPaletteInfo GpiQueryNearestColor GpiQueryDefaultPalette and I think that's All :) Yes I know it's long, (Long that's not the word, it's Enormous) It's for a good cause, ... My bacc... :) And Yes, I'm forgetting, How do I draw a dot of a certain color to the sreen. A big thanks to all! Guylain Lavoie LAVOG00@DMI.USherb.CA
Technical Details
Message-ID:
<BsE8FA.Kzx@DMI.USherb.CA>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!uxa.ecn.bgu.edu!garrot.DMI.USherb.CA!lavog00Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!uxa.ecn.bgu.edu!garrot.DMI.USherb.CA!lavog00 From: lavog00@DMI.USherb.CA (GUYLAIN LAVOIE) Subject: Please Help Me, How to play with palette??? Message-ID: <BsE8FA.Kzx@DMI.USherb.CA> Sender: usenet@DMI.USherb.CA (Pour courrier Usenet) Nntp-Posting-Host: tohi Organization: Universite de Sherbrooke -- departement de Mathematiques et d'Informatique Date: Mon, 3 Aug 1992 05:54:46 GMT Lines: 39