First, check the return value of winScreenMode to make sure you are in gray mode.  If 
not, then the OS is correctly mapping your 4-bit
bitmap to 2-bit.

But, I believe the naming convention you described below is obsolete.
The way it's done now (correct me Heather) is to create a bitmap family and then 
populate it with bitmaps of different depths.  The OS
then picks the bitmap that matches the current graphics mode to display.
If you have a version of Contructor that doesn't support bitmap families, than it is 
likely designed for pre-OS3.3, which meant that
4-bit wasn't supported.

Matt Becker wrote:

> How can I get my 4bit greyscale bitmaps to display?  The constructor docs tell of 
>/-1/ and /-2/ naming convention for 1 and 2 bit
> bitmaps, but if I use /-4/ it wont compile.  If I name a 4bit bitmap /-2/ it shows 
>up as a poorly redone 2bit bitmap.  I am running
> OS 3.5 , CW R7, and I have winScreenMode set to a 4 bit level depth.  The rom I am 
>using is a Palm Vx, which, I believe, does
> support 4 bit greyscale.
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


-- 
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