Re: Drawing shadows under views
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.