realbasic-plugins
[Top] [All Lists]

Re: MachO REALcontrol and PICT resources?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: MachO REALcontrol and PICT resources?
From: Marco Bambini <marco at sqlabs dot net>
Date: Fri, 2 Dec 2005 22:50:59 +0100
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <305E68F9-B473-4F47-9372-E3F653049ABA at componentx dot com> <8E669479-6073-4CDE-AA96-87C4C30ED052 at componentx dot com> <7C0540B4-78D1-491F-B84A-08E32DCFA00F at sqlabs dot net> <3CB679DE-E729-44E9-AA05-70A3C6103AFD at chaoticbox dot com>
Thanks a lot Frank, but unfortunately it doesn't works for me.
In my REALcontrol definition I have defined 128 in the toolbarPICT field and 129 in the toolbarDownPICT. I have then added 128.bmp and 129.bmp into the Controls Palette folder inside my rbx plugin, but they are ignored by the IDE.

Anyone can give me an hint?

---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/



On Dec 2, 2005, at 9:16 PM, Frank Condello wrote:

On 2-Dec-05, at 2:40 PM, Marco Bambini wrote:

I am writing a new control plugin for REALbasic and it will have only a MachO version. The issue is that in the REALcontrol definition I have to define two ID for the PICT resource that represent my control, but how can I add this PICT resource to my plugin?

I have a single .dylib file, and I know that I can add an rbx plugin but what about the resource pictures?
Any help?

The RBX format stores resources separately in the "IDE Resources" directory. I don't know all the details for icons as I've never used them myself, but IIRC, they need to be BMP pictures. I'm sure the Plugin Converter readme has more info - if you've got copy at least...

Frank.
–––––––––––––––––––––––––––––––––
Open Source RB Goodies and Shareware
<http://developer.chaoticbox.com/>
<http://www.chaoticbox.com/>
–––––––––––––––––––––––––––––––––
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>