At 12:03 2002-10-9 -0700, you wrote:
>Hi Everyone,
>
>Does anyone know a way to force CodeWarrior to use a
>different resource type for bitmaps?  For example, if
>I wanted the resource type 'TBmp' to be 'FROG'
>instead.
>
>I have been able to do this using Pilrc, but I hate to
>convert all my .rsrc files to .rcp file (BTW, I've
>tried some of the coverter programs out there and none
>of them work for transparent bitmaps).  I prefer using
>Constructor over Pilrc, but I need the flexibility to
>define my own types for Bitmaps.  I'll pass this new
>type to WinDrawBitmap.

There isn't a way to do this before you've build the PRC file, but you can 
use a tool like par (http://www.djw.org/product/palm/par/index.html) to 
extract your 'Tbmp' resources and readd them as 'FROG' resources.  Using 
the Perl script compiler plugin included with CW, you could even do this as 
part of your automated product build, using linked targets to build your 
PRC and then execute a script on it.

-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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

Reply via email to