Created
June 13, 2009 19:28
-
-
Save cappuccino/129398 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| currentMouseOverView = [theWindow hitTest:thePoint]; | |
| //same view as last time, bail. | |
| if (currentMosueOverView === stack.top()) | |
| return; | |
| view = currentMouseOverView | |
| while (view) | |
| { | |
| newStack.push(view) | |
| view = [view superview]; | |
| } | |
| for (i=0;i<stack.length;++i) | |
| { | |
| if (stack[i] !== newStack[i]) | |
| break; | |
| } | |
| for(i2=i;i2<stack.length;++i2) | |
| [stack[i2] mouseExited:event] | |
| for (;i<newStack.length;++i) | |
| [stack[i] mouseEntered:event] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment