Changeset 774
- Timestamp:
- 01/28/14 22:04:27 (10 years ago)
- Location:
- trunk/src/org/expeditee
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Misc.java
r766 r774 1226 1226 continue; 1227 1227 } else if(i instanceof XRayable) { 1228 if (!i.isAnchored()) { 1228 1229 i.setPosition(i.getX() + x, i.getY() + y); 1230 } 1229 1231 } else { 1232 if (!i.isAnchored()) { 1230 1233 i.setXY(i.getX() + x, i.getY() + y); 1234 } 1231 1235 } 1232 1236 // update the polygon, otherwise stuff moves but leaves it's outline behind … … 1234 1238 } 1235 1239 for(InteractiveWidget iw : frame.getInteractiveWidgets()) { 1240 if (!iw.isAnchored()) { 1236 1241 iw.setPosition(iw.getX() + x, iw.getY() + y); 1242 } 1237 1243 } 1238 1244 // make sure we save the panning of the frame -
trunk/src/org/expeditee/items/Item.java
r741 r774 2873 2873 2874 2874 2875 public boolean isAnchored() { 2876 return ((_anchorLeft != null) || (_anchorRight != null) 2877 || (_anchorTop != null) || (_anchorBottom != null)); 2878 } 2879 2875 2880 public Float getAnchorLeft() { 2876 2881 return _anchorLeft; -
trunk/src/org/expeditee/items/XRayable.java
r737 r774 246 246 247 247 @Override 248 public boolean isAnchored() { 249 return _source.isAnchored(); 250 } 251 252 @Override 248 253 public void setAnchorTop(Float anchor) { 249 254 _source.setAnchorTop(anchor); -
trunk/src/org/expeditee/items/widgets/InteractiveWidget.java
r733 r774 1740 1740 getY()); 1741 1741 getSource().setAnchorRight(anchor); 1742 } 1743 1744 public boolean isAnchored() { 1745 return getSource().isAnchored(); 1742 1746 } 1743 1747 -
trunk/src/org/expeditee/items/widgets/WidgetCorner.java
r720 r774 147 147 public String getLink() { 148 148 return _widgetSource.getSource().getLink(); 149 } 150 151 @Override 152 public boolean isAnchored() { 153 return _widgetSource.isAnchored(); 149 154 } 150 155 -
trunk/src/org/expeditee/items/widgets/WidgetEdge.java
r720 r774 120 120 public void setAnchorRight(Float anchor) { 121 121 _widgetSource.setAnchorRight(anchor); 122 } 123 124 @Override 125 public boolean isAnchored() { 126 return _widgetSource.isAnchored(); 122 127 } 123 128
Note:
See TracChangeset
for help on using the changeset viewer.