Re: Trasparent Window with Opaque Text
Re: Trasparent Window with Opaque Text
- Subject: Re: Trasparent Window with Opaque Text
- From: Robert Clair <email@hidden>
- Date: Thu, 14 Oct 2004 08:44:38 -0400
In your window's init method:
[self setOpaque: NO];
[self setBackgroundColor: [NSColor clearColor]];
in your view's drawRect
[[NSColor clearColor] set];
NSRectFill( inRect );
[myOpaqueColor set];
draw your text
Bob Clair
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden