/[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.50 by mudyc, Fri Jan 10 09:58:41 2003 UTC revision 1.51 by mudyc, Fri Jan 10 13:10:58 2003 UTC
# Line 216  public static final String rcsid = "$Id$ Line 216  public static final String rcsid = "$Id$
216              final BgVob bg = BgVob.create(plane, window);              final BgVob bg = BgVob.create(plane, window);
217    
218              final IrregularFrame f = IrregularFrame.create(-16000,-16000,16000,16000,              final IrregularFrame f = IrregularFrame.create(-16000,-16000,16000,16000,
219                                          irreguBorder, irreguRipple);                                          irreguBorder, irreguRipple, 2);
220    
221              final int frameUnit = vs.unitSqCS(frameCS, "USQ");              final int frameUnit = vs.unitSqCS(frameCS, "USQ");
222    
# Line 401  public static final String rcsid = "$Id$ Line 401  public static final String rcsid = "$Id$
401          int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10,          int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10,
402                  (-mainWidth)/2, -mainHeight/2, 1, 1,                  (-mainWidth)/2, -mainHeight/2, 1, 1,
403                  mainWidth, mainHeight);                  mainWidth, mainHeight);
404            /*
405            int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10,
406                    0, 0, 1,1,
407                    mainWidth/2, mainHeight/2);
408            */
409          vs.activate(frameCS);          vs.activate(frameCS);
410    
411          // cell to frame CS          // cell to frame CS
412          int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10);          int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10);
413            //int c2fCS = vs.coords.ortho(0, -5,-5,0, 20,20);
414          vs.matcher.add(frameCS, c2fCS, "C2F");          vs.matcher.add(frameCS, c2fCS, "C2F");
415    
416          MAIN_CS = frameCS;          MAIN_CS = frameCS;
# Line 543  public static final String rcsid = "$Id$ Line 549  public static final String rcsid = "$Id$
549              int paper_count=0;              int paper_count=0;
550              int accursed_paper_count=0;              int accursed_paper_count=0;
551              for (; p!=null; paper_count++) {              for (; p!=null; paper_count++) {
552                  if (p==accursed_p) accursed_paper_count = paper_count;                  if (p.h(d.contains)==accursed_p.h(d.contains)) accursed_paper_count = paper_count;
553                  p = p.s(d.d1);                  p = p.s(d.d1);
554              }              }
555    
# Line 586  public static final String rcsid = "$Id$ Line 592  public static final String rcsid = "$Id$
592                  int c2f = vs.coords.ortho(0, 11, 0, 0,                  int c2f = vs.coords.ortho(0, 11, 0, 0,
593                                            leftPanelZoom, leftPanelZoom);                                            leftPanelZoom, leftPanelZoom);
594                  vs.matcher.add(fr, c2f, "C2F");                  vs.matcher.add(fr, c2f, "C2F");
595                    ev_handler.onClick(fr, "Shortcut link", new Object[]{p, new Integer(MAIN_CS), new Integer(fr)});
                 ev_handler.onClick(fr, "Shortcut link", new Object[]{p, new Integer(MAIN_CS), new Integer(ctr)});  
596                  /*                  /*
597                  if (interps.get("shortcut") != null) {                  if (interps.get("shortcut") != null) {
598                      ((DefaultVobMatcher)vs.matcher).keymapSingleCoordsys(MAIN_CS,                      ((DefaultVobMatcher)vs.matcher).keymapSingleCoordsys(MAIN_CS,

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

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