git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3910 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-03-14 18:10:42 +00:00
parent f1c05d996a
commit 70438f3157
2 changed files with 7 additions and 1 deletions

View file

@ -334,6 +334,7 @@ static Class rulerViewClass = nil;
} }
[_contentView scrollToPoint: point]; [_contentView scrollToPoint: point];
[window update];
} }
- (void) reflectScrolledClipView: (NSClipView*)aClipView - (void) reflectScrolledClipView: (NSClipView*)aClipView

View file

@ -704,9 +704,9 @@ static BOOL preCalcValues = NO;
[self drawKnobSlot]; [self drawKnobSlot];
[self drawKnob]; [self drawKnob];
[self drawArrow: NSScrollerDecrementArrow highlight: NO]; [self drawArrow: NSScrollerDecrementArrow highlight: NO];
[self drawArrow: NSScrollerIncrementArrow highlight: NO]; [self drawArrow: NSScrollerIncrementArrow highlight: NO];
} }
- (void) drawArrow: (NSScrollerArrow)whichButton highlight: (BOOL)flag - (void) drawArrow: (NSScrollerArrow)whichButton highlight: (BOOL)flag
@ -825,8 +825,11 @@ static BOOL preCalcValues = NO;
0 : 2 * (buttonsWidth + buttonsDistance)); 0 : 2 * (buttonsWidth + buttonsDistance));
height = knobHeight; height = knobHeight;
width = buttonsWidth; width = buttonsWidth;
#if 0
if (_isHorizontal) // keeps horiz knob off of the buttons if (_isHorizontal) // keeps horiz knob off of the buttons
y++; y++;
#endif
x = buttonsDistance;
break; break;
} }
@ -865,6 +868,7 @@ static BOOL preCalcValues = NO;
return NSZeroRect; return NSZeroRect;
width = buttonsWidth; width = buttonsWidth;
height = buttonsWidth; height = buttonsWidth;
x = buttonsDistance;
break; break;
case NSScrollerIncrementLine: case NSScrollerIncrementLine:
@ -883,6 +887,7 @@ static BOOL preCalcValues = NO;
return NSZeroRect; return NSZeroRect;
height = buttonsWidth; height = buttonsWidth;
width = buttonsWidth; width = buttonsWidth;
x = buttonsDistance;
break; break;
case NSScrollerNoPart: case NSScrollerNoPart: