mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
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:
parent
0d1b3b95af
commit
178e4956bd
15 changed files with 87 additions and 73 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue