/[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.14 by mudyc, Fri May 16 11:12:11 2003 UTC revision 1.15 by mudyc, Mon May 19 07:20:08 2003 UTC
# Line 72  public abstract class AbstractMainNode2D Line 72  public abstract class AbstractMainNode2D
72          void mainNodeToBeRender(VobScene vs, int into,          void mainNodeToBeRender(VobScene vs, int into,
73                                  AbstractMainNode2D main);                                  AbstractMainNode2D main);
74      }      }
     public interface DoMouse {  
         boolean doMouse(MouseEvent e, VobScene oldVobScene,  
                         AbstractMainNode2D main);  
     }  
75    
76      /** Cause the changes to the zooming and panning variables      /** Cause the changes to the zooming and panning variables
77       * to be shown in the given vobscene.       * to be shown in the given vobscene.
# Line 159  public abstract class AbstractMainNode2D Line 155  public abstract class AbstractMainNode2D
155      }      }
156            
157      protected boolean doMouse(MouseEvent e, VobScene oldVobScene) {      protected boolean doMouse(MouseEvent e, VobScene oldVobScene) {
         if (context.doMouse(e, oldVobScene, this)) return false;  
   
158          // Move by dragging with button 1          // Move by dragging with button 1
159          if(m_state[2] == e.BUTTON1_MASK &&          if(m_state[2] == e.BUTTON1_MASK &&
160             e.getID() == MouseEvent.MOUSE_DRAGGED) {             e.getID() == MouseEvent.MOUSE_DRAGGED) {

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

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