> How would I specify a colorbitmap in .prc file?
> Let say I've defined a 'BITMAPCOLOR ID 100 "moo.bmp"' together with a
> non-color (usual) bitmap; how would I use them in my form later?

  BITMAPFAMILY ID 1000 "bw.bmp" "" "" "color.bmp"
 
> FORMBITMAP only (seem) to take one bitmap arguement...

  FORMBITMAP 1000
 
> Or is this whole thing up to me? Show the non-color bitmap by default, and
> if detected color support; dynamically replace the bitmap to be drawn?

  thats it.. if the display can support color, the color bitmap will be
  drawn :)
 
> If so, how can I detect features such as color support in a Palm that
> doesn't have the 3.5 OS?

  UInt32 romVersion;

  // get the rom version
  FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion);

  // running os 3.5?
  if (romVersion >= sysMakeROMVersion(3,5,0,sysROMStageRelease,0)) {
  }

  // not running os 3.5
  else {
  }

  of course, since the bitmap handling is done automagically, you
  wont need this code :P

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/

Reply via email to