bug-gnustep
[Top][All Lists]
Advanced

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

Re: NSScroller, NSBrowser and some issues


From: Pascal Bourguignon
Subject: Re: NSScroller, NSBrowser and some issues
Date: Fri, 11 Oct 2002 18:15:49 +0200 (CEST)

> From: Nicola Pero <nicola@brainstorm.co.uk>
> Date: Fri, 11 Oct 2002 15:07:33 +0100 (BST)
> 
> 
> > > >> I think we should stick to policy of having a NeXTstep look ... and use
> > > >> NSInterfaceStyle where people want alternatives.  So a patch to support
> > > >> an interface style which gives a stippled scroller background ought
> > > >> to be admissable IMO.
> > > >
> > > > The NeXTstep look _is_ stippled. :)
> > > 
> > > I'll take your word for it ... I no longer have a NeXTstep system
> > > since the
> > > hardware I used for it died.  It didn't *look* stippled to me as far
> > > as I can
> > > remember, but I had a lower quality display back then and it could
> > > just have
> > > looked like a solid grey because of that.
> > 
> >   It is definitly stippled. If magnify screenshot of the scrollbar(as
> >   well as NSSlider) you'll see that.
> 
> I think Adam was right in holding the patch until the issue was clear ...
> but yes, looking at screenshots on the web, it seems that NeXTstep did
> indeed used a stippled background for scrollers, so I'd say we want the
> same by default :-)

I'm not so sure.  For all I know, it could as well have been:

    0.5 setgray
    0 0  moveto 0 200 rlineto 16 0 rlineto 0 -200 rlineto closepath fill

It just  happen that on a  2bit depth screen,  the best way to  do 0.5
gray is to mix dark ).33) gray and light (0.66) gray pixels.


The definitive  answer to that  question would be  to look at  a color
display that I don't have.

Note that  the scroll bars in  WPref.app of WindowMaker  are plain 0.5
gray, not stippled.  It seems correct to me.

 
> However, I'd personally feel that the stippled background would be better
> implemented by tiling a simple image (that is, drawing the image many
> times, repeateadly, to cover the area), rather than by drawing a net of
> dashed bezier paths.
> 
> It feels faster to me (but I've got no objective benchmarks, and I'm happy
> to know that it's not that way) and it would have the important advantage
> that by replacing the image with a different one, people should be able to
> customize the scroller background more easily.


-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------
 The name is Baud,...... James Baud.








reply via email to

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