Re: CustomView Help ...
Re: CustomView Help ...
- Subject: Re: CustomView Help ...
- From: "Kyle Sluder" <email@hidden>
- Date: Fri, 14 Mar 2008 07:04:13 -0400
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