Article View: comp.sys.next.programmer
Article #1858Re: The IB Object Icon
From: swede Jim Mynatt
Date: Fri, 20 Nov 1992 22:35
Date: Fri, 20 Nov 1992 22:35
34 lines
1447 bytes
1447 bytes
In article <1992Nov3.082658.16279@rdg.dec.com>
jacksonc@uproar.enet.dec.com (Chris Jackson @ IME) writes:
>
> Is there a simple way to create the sphere icon used to represent
> objects in IB's File Window ? Specifically, I would like to have
> a blue version (like the icon of RenderManager) and have a capital
> 'F' embossed around the front of it.
>
> Also, once I have my own icon for an object that when instantiated
> from a palette will appear in the File Window, how do I ensure that
> my icon will be displayed ? I have tried implementing a 'getIBImage'
> method for my object (using 'NXImage::findImageNamed') but that does
> not work.
>
> Thanks in advance for any pointers,
>
> Chris.
--
Sorry here is a code snippet that should work.
- (NXImage *)getIBImage
{
const char *imageName;
imageName = "BlueSphereWithF";
return [NXImage findImageNamed:imageName];
}
-------------------------------------------------------
James L. Mynatt
Area Systems Engineering Manager
NeXT Computer, Inc.
USPS: Echelon IV, Suite 400
9430 Research Blvd.
Technical Details
Message-ID:
<5916@rosie.NeXT.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!rosie!swedeReferences:
<1992Nov3.082658.16279@rdg.dec.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!swede From: swede (Jim Mynatt) Newsgroups: comp.sys.next.programmer Subject: Re: The IB Object Icon Message-ID: <5916@rosie.NeXT.COM> Date: 20 Nov 92 22:35:24 GMT References: <1992Nov3.082658.16279@rdg.dec.com> Sender: news@NeXT.COM Reply-To: jim_mynatt@next.com Lines: 34