mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8854 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8cc744c948
commit
7b6653631f
3 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue