[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gzz/modules/pp PPView2.java
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/gzz/modules/pp PPView2.java |
Date: |
Fri, 03 Jan 2003 02:23:42 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 03/01/03 02:23:40
Modified files:
gzz/modules/pp : PPView2.java
Log message:
Implement the architectural change from coords.rst
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/modules/pp/PPView2.java.diff?tr1=1.34&tr2=1.35&r1=text&r2=text
Patches:
Index: gzz/gzz/modules/pp/PPView2.java
diff -u gzz/gzz/modules/pp/PPView2.java:1.34
gzz/gzz/modules/pp/PPView2.java:1.35
--- gzz/gzz/modules/pp/PPView2.java:1.34 Fri Jan 3 02:16:56 2003
+++ gzz/gzz/modules/pp/PPView2.java Fri Jan 3 02:23:40 2003
@@ -36,7 +36,7 @@
import java.util.*;
public class PPView2 implements View {
-public static final String rcsid = "$Id: PPView2.java,v 1.34 2003/01/03
07:16:56 tjl Exp $";
+public static final String rcsid = "$Id: PPView2.java,v 1.35 2003/01/03
07:23:40 tjl Exp $";
public static boolean dbg = true;
private static void pa(String s) { System.err.println(s); }
@@ -300,7 +300,7 @@
int[] pan = getCoords(c);
final int c2fCS = vs.coords.ortho(0, 0,
-pan[0]*buoyZoom, -pan[1]*buoyZoom, buoyZoom, buoyZoom);
- vs.matcher.add(buoycs, c2fCS, "C2F");
+ vs.matcher.add(frameCS, c2fCS, "C2F");
buoyqueue.add(new Runnable() {
public void run() {
@@ -366,10 +366,10 @@
SinglePlane pl = new SinglePlane();
pl.context = main_vc;
- int mainctr = vs.translateCS(0, "MAINVP",
+ int mainctr = vs.translateCS(0, "MAINVPCTR",
centerX(vs), mainY + mainHeight/2);
- int frameCS = vs.orthoBoxCS(mainctr, "frame", 10,
+ int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10,
(-mainWidth)/2, -mainHeight/2, 1, 1,
mainWidth, mainHeight);
vs.activate(frameCS);
@@ -384,7 +384,7 @@
// cell to frame CS
int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10);
- vs.matcher.add(mainctr, c2fCS, "C2F");
+ vs.matcher.add(frameCS, c2fCS, "C2F");
int[] coords = getCoords(context.getAccursed());
@@ -574,7 +574,7 @@
int c2f = vs.coords.ortho(0, 0,
-linkbuoyZoom*coords[0],
-linkbuoyZoom*coords[1],
linkbuoyZoom, linkbuoyZoom);
- vs.matcher.add(ctr, c2f, "C2F");
+ vs.matcher.add(frameCS, c2f, "C2F");
buoy_vc.setAccursed(otherNote);
buoy_singlePlane.render(vs, frameCS, c2f);