On 2006-06-28, Chris DiPierro <[EMAIL PROTECTED]> wrote:
> I have an app that displays 256-color custom-palette bitmaps by first 
> setting the palette and then displaying the image. This was a handy 
> technique back in the 256 color Palm IIIc days, etc. It has worked fine up 
> until the T|X.
>
> If I run the same app on the T|X sims, it all works fine. However, on a 
> real T|X it's as if the palette doesn't get set. Is this a matter of the 
> sim not accurately representing the hardware? Or is there just something 
> about palette setting on the device that doesn't work?

Default color depth on TX is 16 bits. In the Sim set
Settings->Display->Color Depth to 65536 colors instead of 256 colors.
You will most likely get similar results on the Sim as on a real TX.

In your app set the color depth to 8 bit and restore it to the default 
when you exit.

HTH

Ton van Overbeek

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to