• 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 shadows under views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing shadows under views


  • Subject: Re: Drawing shadows under views
  • From: Ryan Bates <email@hidden>
  • Date: Tue, 17 Feb 2004 10:20:21 -0800

On Feb 17, 2004, at 9:10 AM, Jeremy Dronfield wrote:
I'm trying to implement fields similar to those used for editing entries in Address Book and iCal. I've got the general view layout set up and working, but I need guidance when it comes to drawing drop-shadows under the individual fields (each one is an NSTextView created programmatically). I can't find any guidance in the documentation. Does anyone have any experience with this, and if so, could they help me out?

In 10.3 you can use NSShadow to do this:
http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSShadow.html

If you have access, there is a very nice example of drawing a raised text field in one of the ADC TV sessions.

Ryan
_______________________________________________
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.

  • Follow-Ups:
    • Re: Drawing shadows under views
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Drawing shadows under views (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Re: Debugging Bindings in Cocoa
  • Next by Date: initializing a Window Controller
  • Previous by thread: NSComboBox and Datasource issue
  • Next by thread: Re: Drawing shadows under views
  • Index(es):
    • Date
    • Thread