Hi,
I'm using PilRC Designer (version 2.0.3.0) and want to create a
graphical button and use a BITMAPFAMILYEX for the image (to show a high resolution
image on high density displays, and normal resolution on older displays).
The BITMAPFAMILYEX looks ok when I view it in the Designer (there are currently 2
images in the family, and they look ok).
Also, I have no problem assigning a BITMAP as the image for the
graphical button.
But I can' get PilRC Designer to select the BITMAPFAMILYEX instead of the BITMAP
(the BITMAPFAMILYEX isn't included in the list of available images). (Does PilRC
designer support what I'm trying to do?)
If I use notepad to tweek the button definition and use the resource id for the
BITMAPFAMILYEX instead of the BITMAP, the project builds and seems to run fine (on
high and low density devices)! So everything seems to be working except getting PilRC
designer to do the edit that I did in notepad. Maybe my BITMAPFAMILYEX definition is
missing something that PilRC Designer
wants (?) - here it is:
BITMAPFAMILYEX ID MagnifierBMFEX
BEGIN
BITMAP "mag_1.bmp" BPP 1 DENSITY 1
BITMAP "mag_1_hd.bmp" BPP 1 DENSITY 2
END
Unfortunately, after using notepad, subsequent use of PilRC Designer alters the
button definition (it changes the size of the button), so just doing the edit in
notepad doesn't seem to fit cleanly into the overall process given that I want to
continue using the Designer.
Does anyone have suggestions? (I'm sure there are good ways to do this, but as a
newcomer to Palm OS I'm finding these out as I bump into them...)
Thanks in advance,
-- Stephen
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/