1. Golly Green Giant

------=_NextPart_000_0007_01C00E07.7484E400
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks those who helped me with my BMP problem. Unfortunatly another =
problem has spawned off of this. I've included a BMP thats colours go =
from dark green to light green. But now, the defult palette has changed =
to the BMP's palette (green). How do I get the defult palette back =
without changing the BMP?

-thankssss


-ThOmAs

------=_NextPart_000_0007_01C00E07.7484E400
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks those who helped me with my BMP =
problem.=20
Unfortunatly another problem has spawned off of this. I've included a =
BMP thats=20
colours go from dark green to light green. But now, the defult palette =
has=20
changed to the BMP's palette (green). How do I get the defult palette =
back=20
without changing the BMP?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-thankssss</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_0007_01C00E07.7484E400--

new topic     » topic index » view message » categorize

2. Re: Golly Green Giant

tHoMaS wrote:

>How do I get the defult palette back without changing the BMP?

It's been a couple of years since I did this, but IIRC, you can
save the "standard" palette in a sequence before loading your
BMP, and then restore the saved palette after the BMP is no
longer shown.

oldpal = get_all_palette() -- get the system colors
load the pic
set the palette
show the pic
hide the pic
all_palette(oldpal) -- restore system colors

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu