/[gzz]/gzz/gzz/modules/pp/PPMouseEvents.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp/PPMouseEvents.java

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

revision 1.16 by mudyc, Tue Jan 7 11:27:29 2003 UTC revision 1.17 by mudyc, Tue Jan 7 16:10:35 2003 UTC
# Line 93  public static final String rcsid = "$Id$ Line 93  public static final String rcsid = "$Id$
93              m_ev.accursed_obj = null;              m_ev.accursed_obj = null;
94              m_ev.hit = null;              m_ev.hit = null;
95    
96                ppv.clearInterps();
97    
98              // KLUDGE!!!              // KLUDGE!!!
99              // there are no good way in gzz to handle events :/              // there are no good way in gzz to handle events :/
100              if (p_state.getCS() == kingCS && notEmptyFrame(kingCS, p_state)) {              if (p_state.getCS() == kingCS && notEmptyFrame(kingCS, p_state)) {
# Line 194  public static final String rcsid = "$Id$ Line 196  public static final String rcsid = "$Id$
196          public void event(MouseEvent ev, EventHandling.MousePressState p_state,          public void event(MouseEvent ev, EventHandling.MousePressState p_state,
197                            Object[] obs) {                            Object[] obs) {
198              context.setAccursed((Cell)obs[0]);              context.setAccursed((Cell)obs[0]);
199              ((DefaultVobMatcher)vs.matcher).keymapSingleCoordsys(((Integer)obs[1]).intValue(), m_ev.kingCS);              ppv.addInterp("shortcut"+obs[0].toString(), obs[2]);
200              AbstractUpdateManager.chg();              AbstractUpdateManager.chg();
201          }          }
202      }      }
# Line 203  public static final String rcsid = "$Id$ Line 205  public static final String rcsid = "$Id$
205          public void event(MouseEvent ev, EventHandling.MousePressState p_state,          public void event(MouseEvent ev, EventHandling.MousePressState p_state,
206                            Object[] obs) {                            Object[] obs) {
207              context.setAccursed((Cell)obs[0]);              context.setAccursed((Cell)obs[0]);
208              ((DefaultVobMatcher)vs.matcher).keymapSingleCoordsys(m_ev.kingCS, ((Integer)obs[3]).intValue() );              ppv.addInterp("link"+obs[0].toString(), obs[3]);
209              AbstractUpdateManager.chg();              AbstractUpdateManager.chg();
210          }          }
211      }      }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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