> >If the OS is an earlier one than 3.5, I think it is safe to assume that you
> >do not have color support. :)
>
> But the inverse does not hold true: if you have OS 3.5, you do not
> necessarily have color support. You might be on a grayscale device.
> And can't the user set his own default display depth? It could be set
> to B&W mode, couldn't it?
you cannot assume.. but drawing a color bitmap in 1bpp mode wont crash
the device.. it will just make the bitmap look like %^$%$.. it may be
all black or, whatever the RGBToIndex() routine has decided to give
you :))
cheers.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/