At 10:09 PM +0100 13-03-00, Peter Epstein wrote:
>The screen depth used for the launcher in PalmOS 3.5 is as follows:
>On Palm IIIc: 8 bits deep
>On all the grayscale devices: 1 bit deep
Actually, these are the default screen depths for all apps on those
devices. So far, virtually everything runs in 1-bpp mode by default. The
only exceptions from Palm are the web clipping app for the Palm VII and the
Palm IIIc, which runs in 8-bpp mode by default.
Having said that, I note that the default depth is just stored in a
feature, and it's easy to change. e.g. you can make your Palm V run
everything in 4-bpp mode if you want. Just do this:
FtrSet(sysFtrCreator, sysFtrNumDisplayDepth, newDefaultDepth);
Once done, you'll notice the launcher icons show up as grayscale.
(This works starting in OS 3.0)
Note, however, that you don't get much benefit from running most devices in
grayscale. The overall result is that drawing is a bit slower and your
batteries are used up a bit quicker. Any app that cares about the depth
should already be setting it when it launches.
--Bob
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html