Friday, March 26, 2010

[CS3/CS4] Resource on Mac

Hi,

I my windows version of my plugin, I use a windows resource to contain a BMP image that is shown in my UI. The resource is named like: kSomeNameRsrcID and this works perfectly.

However, on the Mac I don't know how to add a named resource, I can drag the BMP into my xcode project, but I don't know how to reference the BMP.

Please give me a hint

Kind regards Toke

[CS3/CS4] Resource on Mac

BMP is platform specific. Use PNG.

In your .fr :

resource PNGA(kYourRsrcID) ''YourFileName.png'';

[CS3/CS4] Resource on Mac

Hi,

Thanks for your suggestion

I'm using a PictureWidget which only accepts BMP or PICT, thus, I cannot use PNG.

I guess that I should convert the BMP to PICT, but how do i reference it in the .fr?

Kind regards Toke

For ages I've been using the type below, you can also try RollOverIconButtonWidget or SimpleIconSuiteButtonWidget.

Hi,

Works just perfect

Thanks

Kind regards Toke

No comments:

Post a Comment