/[fenfire]/fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/buoy/AbstractMainNode2D.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48 by tjl, Mon Aug 25 09:59:11 2003 UTC revision 1.49 by tjl, Fri Sep 12 19:05:53 2003 UTC
# Line 147  public abstract class AbstractMainNode2D Line 147  public abstract class AbstractMainNode2D
147       * This changes the parameters of the coordinate systems       * This changes the parameters of the coordinate systems
148       * created by render().       * created by render().
149       */       */
150      protected abstract void setZoomPan(VobScene vs, int mainFrame);      public abstract void setZoomPan(VobScene vs);
151    
152      protected float[] v2dwh = new float[2];      protected float[] v2dwh = new float[2];
153    
# Line 225  public abstract class AbstractMainNode2D Line 225  public abstract class AbstractMainNode2D
225          //AbstractUpdateManager.chg();          //AbstractUpdateManager.chg();
226      }      }
227    
228    
229      public void changeSize(float change) { ; }      public void changeSize(float change) { ; }
230      public void changeZoom(float change) {            public void changeZoom(float change) {      
231          float zoom = focus.getZoom() * (float) Math.exp(change/150.0);            float zoom = focus.getZoom() * (float) Math.exp(change/150.0);  
# Line 240  public abstract class AbstractMainNode2D Line 241  public abstract class AbstractMainNode2D
241    
242      public void chgFast(VobScene oldVobScene, int parent) {      public void chgFast(VobScene oldVobScene, int parent) {
243          clipPan();          clipPan();
244          setZoomPan(oldVobScene, box2screen);          setZoomPan(oldVobScene);
245    
246          View2D view = getView2D();          View2D view = getView2D();
247          while (view != null) {          while (view != null) {

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26