/[gzz]/gzz/gzz/vob/TextVob.java
ViewVC logotype

Diff of /gzz/gzz/vob/TextVob.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by benja, Mon Sep 9 14:46:58 2002 UTC revision 1.24 by benja, Mon Sep 9 15:06:11 2002 UTC
# Line 101  String rcsid = "$Id$"; Line 101  String rcsid = "$Id$";
101      private GZZGL.HorizText ht;      private GZZGL.HorizText ht;
102      static Vob cl; // Color callList - XXX Should be removed -      static Vob cl; // Color callList - XXX Should be removed -
103                      // color should come from outside.                      // color should come from outside.
     static private Vob xlist;  
104      public int addToListGL(GraphicsAPI.Window win,      public int addToListGL(GraphicsAPI.Window win,
105                          int[] list, int curs, int coordsys1,                          int[] list, int curs, int coordsys1,
106                                  int coordsys2) {                                  int coordsys2) {
# Line 121  String rcsid = "$Id$"; Line 120  String rcsid = "$Id$";
120          }          }
121          curs = cl.addToListGL(win, list, curs, coordsys1, 0);          curs = cl.addToListGL(win, list, curs, coordsys1, 0);
122          curs = ht.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);  
         }  
123          return curs;          return curs;
124      }      }
125    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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