/[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.13 by tjl, Fri May 16 10:38:16 2003 UTC revision 1.14 by mudyc, Fri May 16 11:12:11 2003 UTC
# Line 69  public abstract class AbstractMainNode2D Line 69  public abstract class AbstractMainNode2D
69          context.mainNodeToBeRender(vs, into, this);          context.mainNodeToBeRender(vs, into, this);
70      }      }
71      public interface Render {      public interface Render {
72          void mainNodeToBeRender(VobScene vs, int into, AbstractMainNode2D main);          void mainNodeToBeRender(VobScene vs, int into,
73                                    AbstractMainNode2D main);
74      }      }
75      public interface DoMouse {      public interface DoMouse {
76          boolean doMouse(MouseEvent e, VobScene oldVobScene);          boolean doMouse(MouseEvent e, VobScene oldVobScene,
77                            AbstractMainNode2D main);
78      }      }
79    
80      /** Cause the changes to the zooming and panning variables      /** Cause the changes to the zooming and panning variables
# Line 157  public abstract class AbstractMainNode2D Line 159  public abstract class AbstractMainNode2D
159      }      }
160            
161      protected boolean doMouse(MouseEvent e, VobScene oldVobScene) {      protected boolean doMouse(MouseEvent e, VobScene oldVobScene) {
162          if (context.doMouse(e, oldVobScene)) return false;          if (context.doMouse(e, oldVobScene, this)) return false;
163    
164          // Move by dragging with button 1          // Move by dragging with button 1
165          if(m_state[2] == e.BUTTON1_MASK &&          if(m_state[2] == e.BUTTON1_MASK &&

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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