At 02:10 PM 11/14/2004, you wrote:
I'm able to create a color bitmap for an About screen and a mono bitmap but only when these are the only bitmaps for the particular bitmap. I've tried every configuration of these using PilRC BITMAP familys to allow the OS to choose which to use depending on PDA resources but it will only select the mono, even in a color environment. Do the two bitmaps in the family have to be exactly the same pixel size to be part of a family of bitmaps?

Yes, bitmaps within a family should have the same dimensions. Think of a bitmap family as one picture, with different renderings to handle different device capabilities.


Since you're using PilRC, try this format:

BITMAPFAMILY ID BandIconBitmapFamily
BEGIN
        BITMAP "music15x9-1.bmp"  BPP 1 DENSITY 72
        BITMAP "music15x9-8.bmp"  BPP 8 DENSITY 72 TRANSPARENTINDEX 0
        BITMAP "music30x18-8.bmp" BPP 8 DENSITY 144 TRANSPARENTINDEX 0
END

This is much better than putting everything on one BITMAP line and makes the relationship between the members of the family clearer. Here, I have one 15x9 bitmap that holds a picture of a note. I've got three different renderings of it -- a B/W version, a 8-bit color version, and a double-density 8-bit color version that's still 15x9 on the form grid, but actually is 30x18 in the bitmap file.

-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Fourm Archives:   http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to