> From: Shannon Lowery
>
> How do I make grayscale drawing work on a 3.5 gray device, say a Vx.
>
> This code works perfectly on a IIIc, I didn't think I needed to do
> anything different to make it work on a Vx.
>
> I call DrawBitmap with a multidepth bitmap.  I have examined the bitmap
> in Rsrcedit on the device, and the grayscale bitmaps are really there.
>
> But on the Vx, it just ignores the the 2-bit bitmaps and draws the 1-bit
> bitmap.
>

I could be wrong, but I think the default bit depth of the Vx is 1, not 2,
and the default bit depth of the IIIc is 8.  If so, then that is what you
should expect to happen.  If you want the device to draw the bitmap in some
depth other than the default, your program has to change the bit depth.  See
the docs for WinScreenMode().


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

Reply via email to