If you want your application to run on devices that use versions of Palm OS earlier than 3.5, you should have 1-bit bitmaps. AFAIK, most (all?) pre-OS3.5 devices had hardware that supported multi-bit grayscale, BUT the OS didn't have API routines to set it. (WinScreenMode wasn't introduced till 3.5.)
As has been stated already, even if you're targetting OS3.5 or later, it's generally a good idea to have 1-bit bitmaps anyway. I don't know of any 3.5 devices that don't support 2- or 4-bit grayscale, but you might want to include 1-bit bitmaps as a preventative measure. They won't consume much extra space, so there's not much harm in doing so. "Amir Kirshenboim" <[EMAIL PROTECTED]> wrote in message news:85141@palm-dev-forum... > > NEVER MIND..... > > it seems like no one here understands my question... > > Amir > > > > "Stringer" <[EMAIL PROTECTED]> wrote in message > news:85047@palm-dev-forum... > > > > >Subject: Re: bitmaps depth > > >From: "Amir Kirshenboim" <[EMAIL PROTECTED]> > > >Date: Thu, 25 Apr 2002 14:12:03 +0200 > > >but i am changing the screen depth to the maximum supported screen depth > in > > >my app start (and setting it back when quiting) ao what kind of screen > depth > > >does devices running os3.1 and later have ? > > >What devices have a maximum supported screen depth of only 1bit or even > > >2bit <SNIP> > > > > Unless you are specifically targetting pre-3.5 devices, it doesn't > > make sense to change the screen density for pre-3.5 devices. > > So just assume 1 bit depth on pre-3.5 devices. > > For 3.5 and later OS, use the supported API's to find out the > > supported bit depth and color support, then act accordingly. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
