Re: Maintaining "well-ness" in subclasses of NSImageView?
Re: Maintaining "well-ness" in subclasses of NSImageView?
- Subject: Re: Maintaining "well-ness" in subclasses of NSImageView?
- From: Marco Scheurer <email@hidden>
- Date: Mon, 17 Jun 2002 15:56:35 +0200
On Monday, June 17, 2002, at 02:30 pm, Dinu Gherman wrote:
I've got a subclass of NSImageView, say MyImageView, where
I'm adding some drag-and-drop behaviour.[...]
I never get to see the "well-ness" of the original base
class, NSImageView.
Is there some trick needed for achieving this, and if so,
which one?
Yes: reading the NSImageView doc.
setImageFrameStyle:
- (void)setImageFrameStyle:(NSImageFrameStyle)frameStyle
Lets you specify the kind of frame that borders the image. The possible
styles are:
NSImageFrameNone-an invisible frame
NSImageFramePhoto-a thin black outline and a dropped shadow
NSImageFrameGrayBezel-a gray, concave bezel that makes the image
look sunken
NSImageGroove-a thin groove that looks etched around the image
NSImageFrameButton-a convex bezel that makes the image stand out in
relief, like a button
The default frameStyle is NSImageFrameNone.
See Also: - imageFrameStyle
Marco Scheurer
Sen:te, Lausanne, Switzerland
http://www.sente.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.