Re: Default "transparent" background
Re: Default "transparent" background
- Subject: Re: Default "transparent" background
- From: Oleg Svirgstin <email@hidden>
- Date: Wed, 04 Dec 2002 02:15:25 +0300
I hope this helps:
[NSGraphicsContext saveGraphics];
[[NSColor windowBackgroundColor] set];
//fill the area you want to be that "prisoner-striped"
[NSGraphicsContext restoreGraphics];
Oleg
>
From: Cristi Savu <email@hidden>
>
Date: Tue, 3 Dec 2002 10:39:06 +0200
>
To: Cocoa <email@hidden>
>
Subject: Default "transparent" background
>
>
I have a view filled with white color. How can I erase that color
>
and leave the view with it's default background (gray horizontal
>
lines ) ?
>
>
Cristian
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.