how about using the pilrc plugin ONLY for your bitmap? :) the official
syntax:

BITMAP...
  {normal options here}
  BITMAPPALETTE "file.pal"

PALETTE ID {id} "file.pal"

I tried this approach yesterday and couldn't get it to work whatever I did.


On the way, I stumbled over a PilRC bug. The palette-parsing (ParsePaletteFile()) doesn't handle newlines directly after the blue value (case 2:). I checked the patches but couldn't find any correction.

This also makes me wonder if anybody really have gotten this to work. Even if I patch the code (or add spaces after each blue value) and get a nice palette resource, I still can't get it to work. The simulator complains about "shadow bitmaps" and other things I've never heard of.

Magnus


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

Reply via email to