[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gzz/view CoordinatePlaneMultiView.java
From: |
Matti Katila |
Subject: |
[Gzz-commits] gzz/gzz/view CoordinatePlaneMultiView.java |
Date: |
Fri, 14 Feb 2003 06:37:44 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Matti Katila <address@hidden> 03/02/14 06:37:44
Modified files:
gzz/view : CoordinatePlaneMultiView.java
Log message:
commit for jvk to add box around the transclusion
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/CoordinatePlaneMultiView.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: gzz/gzz/view/CoordinatePlaneMultiView.java
diff -u gzz/gzz/view/CoordinatePlaneMultiView.java:1.4
gzz/gzz/view/CoordinatePlaneMultiView.java:1.5
--- gzz/gzz/view/CoordinatePlaneMultiView.java:1.4 Wed Feb 12 13:52:22 2003
+++ gzz/gzz/view/CoordinatePlaneMultiView.java Fri Feb 14 06:37:44 2003
@@ -41,7 +41,7 @@
*/
public class CoordinatePlaneMultiView {
-public static final String rcsid = "$Id: CoordinatePlaneMultiView.java,v 1.4
2003/02/12 18:52:22 mudyc Exp $";
+public static final String rcsid = "$Id: CoordinatePlaneMultiView.java,v 1.5
2003/02/14 11:37:44 mudyc Exp $";
public static boolean dbg = true;
private static void pa(String s) {
System.out.println("CoordinatePlaneMultiView"+s); }
@@ -80,21 +80,18 @@
if (dbg) pa("ENF LIST: " + enfList);
- boolean mainVP;
if(hook != null) {
if (span instanceof TextSpan)
context.setCellView(new CellViewPlugin(orig_cv, hook));
else
context.setCellView(
new CellViewPlugin(new PageSpanCellView(), hook));
- mainVP = true;
}
else {
if (span instanceof TextSpan)
context.setCellView(orig_cv);
else
context.setCellView(new PageSpanCellView());
- mainVP = false;
}
CellView cv = context.getCellView();
@@ -109,13 +106,9 @@
bs[0]+" "+bs[1]);
int box;
- if (mainVP)
- box = vs.orthoBoxCS(into, item, 0, place[0], place[1],
- 1, 1, bs[0], bs[1]);
- else
- box = vs.orthoBoxCS(into, item, 0,
- place[0]-bs[0]/2, place[1]-bs[1]/2,
- 1, 1, bs[0], bs[1]);
+ box = vs.orthoBoxCS(into, item, 0,
+ place[0]-bs[0]/2, place[1]-bs[1]/2,
+ 1, 1, bs[0], bs[1]);
if (vs.coords instanceof GLVobCoorder && cullCS > 0) {
int cull = ((GLVobCoorder)vs.coords).cull(box, cullCS);