>>  >Okay, got the new constructor, but when I build my icon family (with
>>  >three depths, 1-, 2-, and 8-bit), I build the package, but the
>>  >emulator still uses the old icon and ignores my new, much more
>>  >colorful, version. Ideas?
>>
>>App icons need to be of the new Constructor type "App Icon Families". This
>>is in Constructor 1.5b1 with a build date of 1/12/00.
>
>That's what I'm using...should they be ID 1000?

Yes.  In a matter of minutes, a piece of sample code ("colorDeal") that I
wrote should be available in the Knowledge Base.  It has icons in black &
white, gray, and color, both small and large.  Plus code showing drawing in
any supported mode, on any device running Palm OS software from 1.0 to 3.5
and beyond.

In short, to create the app icon:
  - make a new icon family with id 1000, width 31, height 21.
  - create entries for 1 and 8 bit (and 2 and 4 if you want)
  - make up and enter IDs in the ID fields for each of the depths, and hit
"create". (If it says "edit", that means there's already an icon with that
ID.)  I generally use id 1001 for the one-bit, 1008 for the 8-bit, but use
whatever numbers you like.
  - edit the icon by hitting the "create" or "edit" button in each depth.

That should be that.

If you still have entries in the old "icons" or "multibit icons"
categories, I'd get rid of them to prevent confusion.  They'd still be
supported for backward compatibility, and I don't know which will "win" if
they both exist.

Or to make things simpler, copy and paste the resources from my colorDeal
sample - make sure to get all 6 bitmaps and the app icon family object, and
then all you have to do is edit the graphics.

I'll be finding out later today whether we've got updated Windows tools
good enough to post, since the Windows Constructor currently posted doesn't
edit bitmaps (or icons) properly at all.  And there's something slightly
wrong with the Windows PalmRez in how it treats the icon even if it was
given a valid bitmap.

Ah, good, while I've been typing the sample has become available.  It is at
  http://oasis.palm.com/devzone/knowledgebasearticle.cfm?article_id=1673

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to