Mail Archives: djgpp/1999/04/12/09:26:53
tou wrote:
>I am just a begginer, and I have just reciently began using Allegro.
>I
>would use more often, if not for these two problems:
>1) I REALLY need some info on the colors in Allegro. I have had to
>get
>my colors so far by trial and error. There must be an easier way. Is
>there an equation for it or something? I'd appreciate any help I can
>get
>for this.
if you refer to the color palette, use the functions get_palette()
and set_palette() to set and get the colorpalette. the palette is a
PALETTE type, defined in allegro.h. check your allegro help indexes
for more help. (by the way, everything becomes much easier if you try
to make gradually altering palettes).
Oscar Almer.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
- Raw text -