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

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

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

revision 1.41 by mudyc, Mon Jan 6 11:11:22 2003 UTC revision 1.42 by mudyc, Tue Jan 7 11:27:29 2003 UTC
# Line 281  public static final String rcsid = "$Id$ Line 281  public static final String rcsid = "$Id$
281              int actr = vs.translateCS(anchorUnit, "TR12", .5f, .5f);              int actr = vs.translateCS(anchorUnit, "TR12", .5f, .5f);
282              int buoycs = floater.buoyCoordsys(actr, key);              int buoycs = floater.buoyCoordsys(actr, key);
283    
284              /*  
285              final int nadir_buoy =              final int nadir_buoy =
286                  ((GLVobCoorder)vs.coords).nadirOrigin(buoycs, nadir_point_cs);                  ((GLVobCoorder)vs.coords).nadirOrigin(buoycs, nadir_point_cs);
287              vs.matcher.add(nadir_buoy, "NADIR");              vs.matcher.add(nadir_buoy, "NADIR"+c.toString() );
             */  
288              //vs.matcher.add(nadir_buoy, new Pair(c, connectedFrom));              //vs.matcher.add(nadir_buoy, new Pair(c, connectedFrom));
289    
290                //final int frameCS = vs.orthoBoxCS(buoycs, "frame", 0,
291              final int frameCS = vs.orthoBoxCS(buoycs, "frame", 0,              final int frameCS = vs.orthoBoxCS(nadir_buoy, "frame", 0,
292                      -buoyVPWidth/2, -buoyVPHeight/2, 1, 1,                      -buoyVPWidth/2, -buoyVPHeight/2, 1, 1,
293                      buoyVPWidth, buoyVPHeight);                      buoyVPWidth, buoyVPHeight);
294              vs.activate(frameCS);              vs.activate(frameCS);
295              ev_handler.onClick(frameCS, "Link CLICK",              ev_handler.onClick(frameCS, "Link CLICK",
296                                 new Object[]{ c, connectedFrom});                                 new Object[]{ c, connectedFrom, new Integer(anchor), new Integer(frameCS)});
297              ev_handler.onDrag(frameCS, "Drag buoy");              ev_handler.onDrag(frameCS, "Drag buoy");
298    
299              // XXX Pan              // XXX Pan
# Line 516  public static final String rcsid = "$Id$ Line 515  public static final String rcsid = "$Id$
515                      fr = vs.orthoBoxCS(ctr, "frame", 100,                      fr = vs.orthoBoxCS(ctr, "frame", 100,
516                                         -leftPanelRealWidth/2, -leftPanelRealHeight/2,                                         -leftPanelRealWidth/2, -leftPanelRealHeight/2,
517                                         1, 1, leftPanelRealWidth, leftPanelRealHeight);                                         1, 1, leftPanelRealWidth, leftPanelRealHeight);
518                        vs.matcher.add(ctr, "ctrl_home");
519                  }                  }
520                  else {                  else {
521                      fr = cs_gen.getNextCS();                      fr = cs_gen.getNextCS();
522                  }                  }
523    
524    
525                  vs.matcher.add(fr, p);                  //vs.matcher.add(fr, p);
526                  vs.activate(fr);                  vs.activate(fr);
527                  ev_handler.onClick(fr, "Shortcut link", new Object[]{p});                  ev_handler.onClick(fr, "Shortcut link", new Object[]{p, new Integer(fr)});
528    
529    
530                  int c2f = vs.coords.ortho(0, 11, 0, 0,                  int c2f = vs.coords.ortho(0, 11, 0, 0,

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

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