• 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: Drawing a drop-shadow around a view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing a drop-shadow around a view


  • Subject: Re: Drawing a drop-shadow around a view
  • From: Jonathan Dann <email@hidden>
  • Date: Fri, 25 Jul 2008 20:36:31 +0100

How odd I came across this yesterday on my travels! The site for this source is

http://www.bergdesign.com/missing_cocoa_docs/nsclipview.html

Jonathan

www.espresso-served-here.com

On 25 Jul 2008, at 11:13, Ian Jackson wrote:

Hi Graham,

if I understand your question, then I wanted to do something like this a while back. I got something off the internet, though I can't remember where. Here's the source that I incorporated into my code. It's been ages since I added it in, so I can't remember whether this takes care of everything or not. I think it does.

Ian.

P.S. if anyone recognises this code as theirs, then I apologise.

<SEDrawingClipView.m>


On 25/07/2008, at 1:43 PM, Graham Cox wrote:

I have a view embedded in a NSScrollView. When the view is small there's a large expanse of grey visible. I'd like to draw a drop- shadow around the view in this situation to help it stand out slightly from the background. What's a good approach to do this?


tia,

cheers, Graham

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Drawing a drop-shadow around a view
      • From: Ian Jackson <email@hidden>
References: 
 >Drawing a drop-shadow around a view (From: Graham Cox <email@hidden>)
 >Re: Drawing a drop-shadow around a view (From: Ian Jackson <email@hidden>)

  • Prev by Date: Re: NSOutlineView with Multiple Core Data Entities
  • Next by Date: DO Chat Example
  • Previous by thread: Re: Drawing a drop-shadow around a view
  • Next by thread: Re: Drawing a drop-shadow around a view
  • Index(es):
    • Date
    • Thread