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 Frith-MacDonald 1999-03-14 18:10:42 +00:00
parent 2706fef48d
commit 1b2456cb90
2 changed files with 7 additions and 1 deletions

View file

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

View file

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