|
From: | Adam Fedor |
Subject: | Re: [PATCH] NSBox - user colors |
Date: | Mon, 19 Jan 2004 10:13:55 -0700 |
On Thursday, January 15, 2004, at 08:02 AM, Jeff Teunissen wrote:
Jeff Teunissen wrote:Attached is a patch that makes the NSBox class not use the NSDrawGroove,NSDrawBezel, etc. functions (which unconditionally draw a grey background, overriding the painting of the background by the class).This allows NSBox to respect the user's color selections, improving thelook of applications that use boxes when the user has set their colors to non-default values.Well, damn, forgot to attach. Here it is.
I commited a GSDrawFunctions class that accomplishes this and made the changes to NSBox. I didn't change the drawing functions for any other class but that is probably trivial.
[Prev in Thread] | Current Thread | [Next in Thread] |