• 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: Beveled outline around a view(BevelBox): How to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beveled outline around a view(BevelBox): How to?


  • Subject: Re: Beveled outline around a view(BevelBox): How to?
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 19 Apr 2005 15:21:18 -0700


On Apr 18, 2005, at 1:48 PM, John Fox wrote:

Hello Nice Cocoa-nuts:

iTunes and iPhoto have a nice beveled outline to their views that I'd like to implement. Poking around in the nib file, I see a custom class called BevelBox, which I suppose is an NSBox subclass. Can someone give me an idea to draw this type of effect? I've used NSFrameRect() in other parts to good effect to draw a colored line around an NSRect, but I clearly need something more specific.

Looks like it could be done fairly easily with NSRectFillListWithGrays (). You'll probably need to spend a bit of time examining it with Pixie.


-jcr





John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Beveled outline around a view(BevelBox): How to?
      • From: Segher Boessenkool <email@hidden>
References: 
 >Beveled outline around a view(BevelBox): How to? (From: John Fox <email@hidden>)

  • Prev by Date: Feature suggestions for easier debugging of Cocoa Bindings.
  • Next by Date: Unique Category Names?
  • Previous by thread: Beveled outline around a view(BevelBox): How to?
  • Next by thread: Re: Beveled outline around a view(BevelBox): How to?
  • Index(es):
    • Date
    • Thread