gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gzz/view CoordinatePlaneMultiView.java


From: Janne V. Kujala
Subject: [Gzz-commits] gzz/gzz/view CoordinatePlaneMultiView.java
Date: Fri, 14 Feb 2003 07:31:17 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Janne V. Kujala <address@hidden>        03/02/14 07:31:16

Modified files:
        gzz/view       : CoordinatePlaneMultiView.java 

Log message:
        towards frames for transclusions

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/CoordinatePlaneMultiView.java.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: gzz/gzz/view/CoordinatePlaneMultiView.java
diff -u gzz/gzz/view/CoordinatePlaneMultiView.java:1.5 
gzz/gzz/view/CoordinatePlaneMultiView.java:1.6
--- gzz/gzz/view/CoordinatePlaneMultiView.java:1.5      Fri Feb 14 06:37:44 2003
+++ gzz/gzz/view/CoordinatePlaneMultiView.java  Fri Feb 14 07:31:16 2003
@@ -41,7 +41,7 @@
  */
 
 public class CoordinatePlaneMultiView {
-public static final String rcsid = "$Id: CoordinatePlaneMultiView.java,v 1.5 
2003/02/14 11:37:44 mudyc Exp $";
+public static final String rcsid = "$Id: CoordinatePlaneMultiView.java,v 1.6 
2003/02/14 12:31:16 jvk Exp $";
     public static boolean dbg = true;
     private static void pa(String s) { 
System.out.println("CoordinatePlaneMultiView"+s); }
 
@@ -80,19 +80,23 @@
            
            if (dbg) pa("ENF LIST: " + enfList);
 
-           if(hook != null) {
-               if (span instanceof TextSpan)
+           boolean drawFrame = false;
+           if (span instanceof TextSpan) {
+               if(hook != null)
                    context.setCellView(new CellViewPlugin(orig_cv, hook));
                else
-                   context.setCellView(
-                       new CellViewPlugin(new PageSpanCellView(), hook));
+                   context.setCellView(orig_cv);
            }
            else {
-               if (span instanceof TextSpan)
-                   context.setCellView(orig_cv);
+               if(hook != null)
+                   context.setCellView(
+                       new CellViewPlugin(new PageSpanCellView(), hook));
                else
                    context.setCellView(new PageSpanCellView());
+
+               drawFrame = true;
            }
+
            CellView cv = context.getCellView();
 
            Cell firstCoord = item.s(d_coords, 1);
@@ -109,6 +113,8 @@
                box = vs.orthoBoxCS(into, item, 0, 
                                    place[0]-bs[0]/2, place[1]-bs[1]/2,
                                    1, 1, bs[0], bs[1]);
+
+               //vs.map.put(, box);
 
                if (vs.coords instanceof GLVobCoorder && cullCS > 0) {
                    int cull = ((GLVobCoorder)vs.coords).cull(box, cullCS);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]