Re: CustomView Help ...
Re: CustomView Help ...
- Subject: Re: CustomView Help ...
- From: Mic Pringle <email@hidden>
- Date: 14 Mar 2008 11:07:55 +0000
- Authenticated-sender:
Hi,
I just dragged the label icon from the palette in IB onto my custom view ?
Thanks
-Mic
On Mar 14 2008, Kyle Sluder wrote:
On 14 Mar 2008 10:57:42 +0000, <email@hidden> wrote:
Hi,
I have implemented a custom view with drag and drop capability. When the
viwe is idle, the background is a subtle gray gradient, and when files
are
being dragged over it turns to a nice blue gradient. I do this in
drawRect
using a BOOL variable which gets updated in each of the drag operation
methods.
Can't you draw your string in either gray or white depending on this
flag? I trust you're using the NSString drawing AppKit extensions,
not an NSTextField subview.
--Kyle Sluder
_______________________________________________
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
_______________________________________________
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