--- Andreas Zankl <[EMAIL PROTECTED]> wrote:
> I have trouble displaying a grayscale bitmap. I created a Bitmap
> Family in Constructor and assigned 3 bitmaps with 1, 4 and 16 
> shades of gray to it. However, POSE ...
> only displays the 1-bit version.

Try setting the bit depth, like this:

  UInt32 depth = 4;   // 1, 2, 4, 8, or 16
  Err e = WinScreenMode( winScreenModeSet, NULL, NULL, &depth, NULL );

Note: you should test the available bit depths with
winScreenModeGetSupportedDepths before changing the bit depth, but I'll
leave that for you to code.  Also note that this function was called
ScrDisplayMode before OS version 3.5 -- see the docs.


__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

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

Reply via email to