On Sun, 28 Apr 2002, James wrote:
> 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.)
i would hate to burst your bubble.. but, WinScreenMode was previously
known as ScrDisplayMode (from memory) proir to palmos 3.5 - you can
change the display depth on any palmos using the WinScreenMode API
as long as it is 3.0+ - the API names were renamed, however, the traps
remained the same (hence, they are compatible)..
this 3.5+ discussion is total crap - 3.5 provided support for 4bpp
via this API, previously, it would only allow you to change into
1 or 2bpp..
> 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.
if your not targeting 3.5 - just put up a:
"sorry, your device is not supported"
if you cannot change into color/4bpp as required.. you dont need
to put 1bpp bitmaps if you dont intend to run your application in
1bpp - you can check the display abilities and os version prior
to running your EventLoop..
burning, on my website (www.ardiri.com) shows you how to do this,
it requires a color device running 3.5+ in order to run. :)
// az
[EMAIL PROTECTED]
http://www.ardiri.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/