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. |
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) { |