>Okay, more color questions: is it possible to just splash an 8-bit
>bitmap to the screen, without having to do it color by color (ie,
>with gray scale, I can preface a bitmap name with /-2/ to tell
>Constructor to handle it as a 2-bit bitmap, but the same trick
>doesn't work with /-8/.) Any pointers?

Are you saying that you have a single 8-bit bitmap, which you want to have
automatically converted at prc build time into 1, 2 and 8 bit depths so
that the OS will pick the best depth for the screen?

If so, I'm fairly certain that doing a bitmap family with three depths in
it, with the same bitmap id for each depth, would do it.  It'll take a
"full share" of memory since the conversion happens on the desktop.

(And once you get the newer tools for 3.5, don't use the /-2/ syntax - the
families take care of that in a much better and more understandable way.)

Alternatively, if you're on a 3.5 device you can always draw an 8 bit image
and the OS can convert it for you.  That'd save memory but decrease
performance.  Earlier OS versions don't know anything about 8 bit so they
wouldn't be able to do that.

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to