Changeset 222
- Timestamp:
- 08/13/08 16:23:44 (16 years ago)
- Location:
- trunk/src/org/expeditee/items/widgets
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/widgets/InteractiveWidget.java
r220 r222 1066 1066 1067 1067 /** 1068 * 1069 * @return 1070 * The current bounds for this widget. Never null. 1071 */ 1072 public Rectangle getBounds() { 1073 return new Rectangle(getX(), getY(), getWidth(), getHeight()); 1074 } 1075 1076 /** 1068 1077 * Due to absolute positioning... 1069 1078 * -
trunk/src/org/expeditee/items/widgets/WidgetCorner.java
r220 r222 156 156 @Override 157 157 public boolean contains(int x, int y) { 158 return super.contains(x, y) && ! getEnclosedShape().contains(x, y);158 return super.contains(x, y) && !_widgetSource.getBounds().contains(x, y); 159 159 } 160 160 -
trunk/src/org/expeditee/items/widgets/WidgetEdge.java
r220 r222 98 98 @Override 99 99 public boolean contains(int x, int y) { 100 return super.contains(x, y) && ! getEnclosedShape().contains(x, y);100 return super.contains(x, y) && !_widgetSource.getBounds().contains(x, y); 101 101 } 102 102
Note:
See TracChangeset
for help on using the changeset viewer.