On 14 Mar 2008 10:57:42 +0000, <[EMAIL PROTECTED]> 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
