gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gzz/vob TextVob.java


From: Benja Fallenstein
Subject: [Gzz-commits] gzz/gzz/vob TextVob.java
Date: Mon, 09 Sep 2002 10:46:58 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Benja Fallenstein <address@hidden>      02/09/09 10:46:58

Modified files:
        gzz/vob        : TextVob.java 

Log message:
        Debug experiment for jvk to look at

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/vob/TextVob.java.diff?tr1=1.22&tr2=1.23&r1=text&r2=text

Patches:
Index: gzz/gzz/vob/TextVob.java
diff -c gzz/gzz/vob/TextVob.java:1.22 gzz/gzz/vob/TextVob.java:1.23
*** gzz/gzz/vob/TextVob.java:1.22       Mon Aug 26 04:08:55 2002
--- gzz/gzz/vob/TextVob.java    Mon Sep  9 10:46:58 2002
***************
*** 31,37 ****
   * from these and use a LineBreaker.
   */
  public class TextVob extends Vob implements HBox {
! String rcsid = "$Id: TextVob.java,v 1.22 2002/08/26 08:08:55 tjl Exp $";
      public static boolean dbg = false;
      private static void pa(String s) { System.err.println(s); }
  
--- 31,37 ----
   * from these and use a LineBreaker.
   */
  public class TextVob extends Vob implements HBox {
! String rcsid = "$Id: TextVob.java,v 1.23 2002/09/09 14:46:58 benja Exp $";
      public static boolean dbg = false;
      private static void pa(String s) { System.err.println(s); }
  
***************
*** 101,106 ****
--- 101,107 ----
      private GZZGL.HorizText ht;
      static Vob cl; // Color callList - XXX Should be removed -
                    // color should come from outside.
+     static private Vob xlist;
      public int addToListGL(GraphicsAPI.Window win,
                        int[] list, int curs, int coordsys1,
                                int coordsys2) {
***************
*** 120,126 ****
        }
        curs = cl.addToListGL(win, list, curs, coordsys1, 0);
        curs = ht.addToListGL(win, list, curs, coordsys1, 0);
!       return curs; 
      }
  
  
--- 121,138 ----
        }
        curs = cl.addToListGL(win, list, curs, coordsys1, 0);
        curs = ht.addToListGL(win, list, curs, coordsys1, 0);
!         if(dbg) {
!             if(xlist == null)
!                 xlist = GZZGL.createCallListCoorded(
!               "Color 
"+gzz.util.ColorUtil.colorGLString(java.awt.Color.blue)+" 1\n" +
!               "Begin QUAD_STRIP\n"+
!               "Vertex 1 1\nVertex 1 -1\n"+
!               "Vertex -1 1\nVertex -1 -1\n"+
!               "End\n"
!                   );
!             curs = xlist.addToListGL(win, list, curs, coordsys1, 0);
!         }
!       return curs;
      }
  
  
***************
*** 135,141 ****
        this.scale = scale;
        return this;
      }
!       
      public void setPrev(HBox b) { }
      public void setPosition(int depth, int x, int y, int w, int h) { }
  
--- 147,153 ----
        this.scale = scale;
        return this;
      }
! 
      public void setPrev(HBox b) { }
      public void setPosition(int depth, int x, int y, int w, int h) { }
  




reply via email to

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