It seems that if I have an app icon resource created programmatically
with only a double density member, it will be displayed far off center
to the left. I got the same results when creating such an icon in Palm
OS Resource Editor, and just adding a single density member fixed the
problem. To fix the problem, I must add another dummy bitmap before the
actual dummy, so that the first one has correct width, height and
rowBytes values, depth of 1 (I assume my app won't be running on a
monochrome device) with no actual data and whose nextDepthOffset points
to the real dummy. Why is this? Is this a bug?

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:bounce-437419-
> [EMAIL PROTECTED] On Behalf Of Greg Parker
> Sent: Wednesday, May 25, 2005 6:15 PM
> To: Palm Developer Forum
> Cc: Palm Developer Forum
> Subject: Re: Code bloat with PRC-Tools?
> 
> David Linker writes:
> > Add -O1flag
> > 39,272 bytes
> >
> > Add -O2 flag
> > 39,844 bytes
> >
> > It looks like the -O1 and COMPRESS options get it within "striking
> > distance".
> 
> Try using -Os ("optimize for size"). It's usually faster than -O1 and
> smaller than both -O1 and -O2.
> 
> 
> --
> Greg Parker     [EMAIL PROTECTED]
> 
> 
> --
> For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/



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

Reply via email to