git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8854 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-01-28 20:26:55 +00:00
parent 8cc744c948
commit 7b6653631f
3 changed files with 12 additions and 4 deletions

View file

@ -1598,7 +1598,9 @@ static SEL getSel;
/* Draw the cells within the drawing rectangle. */
for (i = row1; i <= row2 && i < _numRows; i++)
for (j = col1; j <= col2 && j < _numCols; j++)
[self drawCellAtRow: i column: j];
{
[self drawCellAtRow: i column: j];
}
}
- (BOOL) isOpaque

View file

@ -727,7 +727,9 @@ static Class rulerViewClass = nil;
horizLineLength -= scrollerWidth + 2 * borderThickness;
DPSmoveto(ctxt, horizLinePosition, borderThickness);
if (_rFlags.flipped_view)
DPSrmoveto(ctxt, 0, headerViewHeight);
{
DPSrmoveto(ctxt, 0, headerViewHeight);
}
DPSrlineto(ctxt, 0, _bounds.size.height - headerViewHeight
- 2 * borderThickness - 1);
DPSstroke(ctxt);

View file

@ -922,9 +922,13 @@ static NSColor *scrollBarColor = nil;
}
if (_isHorizontal)
return NSMakeRect (y, x, height, width);
{
return NSMakeRect (y, x, height, width);
}
else
return NSMakeRect (x, y, width, height);
{
return NSMakeRect (x, y, width, height);
}
}
@end