Access superclass ivars directly.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4786 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-09-01 08:35:16 +00:00
parent 0d1b3b95af
commit 178e4956bd
15 changed files with 87 additions and 73 deletions

View file

@ -683,11 +683,10 @@ static int mouseDownFlags = 0;
float approxRowsHeight = approxRow * (cellSize.height + intercell.height);
int approxCol = point.x / (cellSize.width + intercell.width);
float approxColsWidth = approxCol * (cellSize.width + intercell.width);
NSRect theBounds = [self bounds];
/* First check the limit cases */
beyondCols = (point.x > theBounds.size.width || point.x < 0);
beyondRows = (point.y > theBounds.size.height || point.y < 0);
beyondCols = (point.x > bounds.size.width || point.x < 0);
beyondRows = (point.y > bounds.size.height || point.y < 0);
/* Determine if the point is inside the cell */
betweenRows = !(point.y > approxRowsHeight