|
From: | Adam Fedor |
Subject: | Re: NSScroller, NSBrowser and some issues |
Date: | Fri, 11 Oct 2002 11:37:42 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020610 |
Pascal Bourguignon wrote:
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.
I booted up my color NeXT and found out it was stippled also. The interesting thing is that NeXT does this using the setpattern PostScript operator (which basically tells the DPS engine how to draw a color.). That's much more complicated than our PostScript "engine" works. The closest equivalent I could think of is drawing an image, like Nicola suggested...
-- Adam Fedor, Digital Optics Corp. | I'm glad I hate spinach, because http://www.doc.com | if I didn't, I'd eat it, and you | know how I hate the stuff.
[Prev in Thread] | Current Thread | [Next in Thread] |