bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] NSBox - user colors


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 the
look 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.org

Other 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 :-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]