[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSScroller, NSBrowser and some issues
From: |
Serg Stoyan |
Subject: |
NSScroller, NSBrowser and some issues |
Date: |
Fri, 4 Oct 2002 02:07:22 +0300 |
Hi everybody,
Here is another improvement in appearance: NSScroller.
Fist patch changes drawing of knob slot of NSScroller (stiplled
instead of solid). Second one is updates NSBrowser according to NSScroller's
changes.
Working on NSScroller, I've noticed that coordinate system of the
gnustep-gui and gnustep-back is not the same. NSScroller's knob slot is drawing
with number of rectangles using:
bPath = [NSBezierPath bezierPathWithRect:rect];
[bPath stroke];
Now we decrease heigth of rect by 10 points and draw with
[bPath stroke]. This second rectangle is expected to be visible as horizontal
line 10 points lower then top of the first one. Instead, we
see horizontal line 10 points higher of the bottom of first rectangle.
Maube this is a specific behaviour of NSBezierPath?
Second, I've temporary replace [scrollBarColor set] with
[[NSColor darkGrayColor] set], because changing from
gray, @"scrollBarColor",
to
darkGray, @"scrollBarColor",
in NSColor.m has no effect. I can't figured out what the problem is...
To maintainers: Do you read me? Maybe these patches are useless? This is third
post with no feedback...
regards,
--
Serg Stoyan
NSScroller.m.patch
Description: Binary data
NSBrowser.m.patch
Description: Binary data
- NSScroller, NSBrowser and some issues,
Serg Stoyan <=
- Re: NSScroller, NSBrowser and some issues, Adam Fedor, 2002/10/07
- Re: NSScroller, NSBrowser and some issues, Serg Stoyan, 2002/10/10
- Re: NSScroller, NSBrowser and some issues, Richard Frith-Macdonald, 2002/10/10
- Re: NSScroller, NSBrowser and some issues, Jeff Teunissen, 2002/10/10
- Re: NSScroller, NSBrowser and some issues, Richard Frith-Macdonald, 2002/10/10
- Re: NSScroller, NSBrowser and some issues, Jeff Teunissen, 2002/10/10
- Re: NSScroller, NSBrowser and some issues, Serg Stoyan, 2002/10/10
- Re: NSScroller, NSBrowser and some issues, Serg Stoyan, 2002/10/10
- Re: NSScroller, NSBrowser and some issues, Nicola Pero, 2002/10/11
- Re: NSScroller, NSBrowser and some issues, Pascal Bourguignon, 2002/10/11