Changeset 31
- Timestamp:
- 05/14/08 09:42:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/MouseEventRouter.java
r22 r31 16 16 17 17 import org.expeditee.items.InteractiveWidget; 18 import org.expeditee.items.Item;19 18 20 19 /** … … 95 94 || Frame.itemAttachedToCursor()) { 96 95 forwardToExpiditee = true; 96 <<<<<<< .mine 97 } else if (DisplayIO.getCurrentFrame() != null) { // is mouse over 98 // a specific 99 // expeditee 100 // item? 101 // NOTE: Do not use FrameUtils.getCurrentItem() - thats relevent 102 // for old mouse position only 103 /* 104 * for (Item i : DisplayIO.getCurrentFrame().getItems()) { if 105 * (i.getPolygon().contains(containerPoint)) { 106 * forwardToExpiditee = true; break; } } 107 */// ABOVE: Does not consider overlays 108 // NOTE: Below is an expensive operation and could be re-used 109 // when passing mouse events!!! 110 forwardToExpiditee = (FrameUtils.onItem(DisplayIO 111 .getCurrentFrame(), containerPoint.x, containerPoint.y) != null); 112 ======= 97 113 } else if (DisplayIO.getCurrentFrame() != null) { // is mouse over 98 114 // a specific … … 107 123 } 108 124 } 125 >>>>>>> .r28 109 126 } 110 127 … … 206 223 return false; 207 224 } 225 <<<<<<< .mine 226 227 ======= 228 >>>>>>> .r28 208 229 }
Note:
See TracChangeset
for help on using the changeset viewer.