Hi,
I'm working on a custom view. I'm using the following code to draw the view
[[NSColor colorWithDeviceRed:(float)42/255
green:(float)49/255
blue:(float)58/255
alpha:0.5] set];
NSRectFill([self bounds]);
[[NSColor colorWithDeviceRed:(float)242/255
green:(float)110/255
blue:(float)80/255
alpha:1.0] set];
NSFrameRect([self bounds]);For some reason the view is showing through the windows/desktop behind the window where my view is located. Surly this is a manifestation of one of the (somewhat unwanted IMO) features of Yosemite but I've not been able to find where I can opt out of this. The window I'm drawing to is a custom window, if that matters TIA Eyal
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
