• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maintaining "well-ness" in subclasses of NSImageView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Maintaining "well-ness" in subclasses of NSImageView? (From: Dinu Gherman <email@hidden>)

  • Prev by Date: Maintaining "well-ness" in subclasses of NSImageView?
  • Next by Date: Re: Guidance on Project Structure
  • Previous by thread: Maintaining "well-ness" in subclasses of NSImageView?
  • Next by thread: Unwanted transparency in custom view
  • Index(es):
    • Date
    • Thread