At 18:46 2000/06/16 GMT, Steven Lawson wrote:
> I'm having trouble pasting an antialiased
> banner (as used in the PQA side of things)
> into the bitmap editor of Constructor for
> my PRC.
Pasting has worked for me (Constructor 1.5b5).
You can also include binary file although you will probably need to convert
image formats. Here's a response I got from Bill Kirby a while ago telling
how to include a binary file:
> You can do this with an .r file. Create a text
> file with a line:
>
> read 'cust' (1000) "rawdata.bin";
>
> Where 'cust' is your custom resource type, 1000
> is the id, and rawdata.bin is a binary file with
> your resource data in it.
>
> In order to use .r files in CodeWarrior you first
> have to add the file mapping for .r files. Go to
> the project settings, "File Mappings" panel, add
> a new maping with extention of ".r", file type
> "TEXT", uncheck all the flags, and set the compiler
> to "Rez".
>
> Then add your .r file to your project and rebuild.
It turned out that the part in the paragraph beginning "In order..." was
already set up in my compiler. Worked like a charm.
.../dave
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/