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

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

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

revision 1.33 by mudyc, Sun Aug 17 11:31:27 2003 UTC revision 1.34 by tjl, Wed Aug 20 16:34:33 2003 UTC
# Line 43  public class MainNode2D extends Abstract Line 43  public class MainNode2D extends Abstract
43      private float tmp[] = new float[2];      private float tmp[] = new float[2];
44    
45      static public class MainNode2DFactory implements Factory {      static public class MainNode2DFactory implements Factory {
         public float zoom;  
46          protected MouseMultiplexer mouseController;          protected MouseMultiplexer mouseController;
47          public MainNode2DFactory(float zoom,          public MainNode2DFactory(MouseMultiplexer mouse) {
                                  MouseMultiplexer mouse) {  
             this.zoom = zoom;  
48              this.mouseController = mouse;              this.mouseController = mouse;
49          }          }
50          public AbstractMainNode2D create(Object plane, View2D view2d,          public AbstractMainNode2D create(Object plane, View2D view2d,
51                                           float panx, float pany) {                                           float panx, float pany, float zoom) {
52              return new MainNode2D(plane, view2d,              return new MainNode2D(plane, view2d,
53                                    new SimpleFocus(panx, pany), zoom,                                    new SimpleFocus(panx, pany), zoom,
54                                    mouseController);                                    mouseController);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

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