|
From: | Adam Fedor |
Subject: | Re: [PATCH] NSBox - user colors |
Date: | Thu, 15 Jan 2004 12:48:01 -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.
Thanks, although you should send patches to bug-gnustep@gnu.orgOther parts of gui use the same or similar functions, so I think we should make a class, like GSDrawFunctions that implements these (so they can be overridden). I'll try to work on that later unless you or someone else would like to do it :-)
[Prev in Thread] | Current Thread | [Next in Thread] |