discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSSplitview Background


From: Fred Kiefer
Subject: Re: NSSplitview Background
Date: Fri, 27 May 2011 10:37:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

On 27.05.2011 01:52, Austin Clow wrote:
In Mac OS X, the NSSplitView is transparent, and doesn't draw any
sort of background. It only draws the splitters.

On GNUstep, it looks to me like it draws a background by default, and
this color seems to be the same color as the window background. It
has the functions -[NSSplitView setBackgroundColor:] and
-[NSSplitView setDividerColor:].

I was wondering if it might be acceptable to alter GNUstep's
NSSplitView to by default not draw a background color (until it is
set with one of the setBackgroundColor options, considering that the
color is the same as the window not many people will notice unless
they have a custom window background color). It would, then, be in
alignment with Mac OS X's implementation (which I know it not the
goal to be 100% the same, it is just a discussion topic).


On a side note: I also filed a 'bug' report that brought attention to
the fact that NSSplitView on GNUstep does not implement (or dummy) -
[NSSplitView setDividerStyle:] (something else that would be nice to
see implemented (at least to be there but ignored).

Both should be changed now in SVN, please give it a try.

Also: I am not really comfortable with adding anything to GNUsteps
framework as I have never worked with SVN (other than to check things
out), and I don't really want to mess anything up that yinz have
implemented.

One way to start contributing is to send patches, that wont involve any use of SVN (apart from frequent calls to svn update), so you should feel comfortable with that.



reply via email to

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