/[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.22 by tjl, Mon Aug 26 08:08:55 2002 UTC revision 1.23 by benja, Mon Sep 9 14:46:58 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.
104        static private Vob xlist;
105      public int addToListGL(GraphicsAPI.Window win,      public int addToListGL(GraphicsAPI.Window win,
106                          int[] list, int curs, int coordsys1,                          int[] list, int curs, int coordsys1,
107                                  int coordsys2) {                                  int coordsys2) {
# Line 120  String rcsid = "$Id$"; Line 121  String rcsid = "$Id$";
121          }          }
122          curs = cl.addToListGL(win, list, curs, coordsys1, 0);          curs = cl.addToListGL(win, list, curs, coordsys1, 0);
123          curs = ht.addToListGL(win, list, curs, coordsys1, 0);          curs = ht.addToListGL(win, list, curs, coordsys1, 0);
124          return curs;          if(dbg) {
125                if(xlist == null)
126                    xlist = GZZGL.createCallListCoorded(
127                    "Color "+gzz.util.ColorUtil.colorGLString(java.awt.Color.blue)+" 1\n" +
128                    "Begin QUAD_STRIP\n"+
129                    "Vertex 1 1\nVertex 1 -1\n"+
130                    "Vertex -1 1\nVertex -1 -1\n"+
131                    "End\n"
132                        );
133                curs = xlist.addToListGL(win, list, curs, coordsys1, 0);
134            }
135            return curs;
136      }      }
137    
138    
# Line 135  String rcsid = "$Id$"; Line 147  String rcsid = "$Id$";
147          this.scale = scale;          this.scale = scale;
148          return this;          return this;
149      }      }
150            
151      public void setPrev(HBox b) { }      public void setPrev(HBox b) { }
152      public void setPosition(int depth, int x, int y, int w, int h) { }      public void setPosition(int depth, int x, int y, int w, int h) { }
153    

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

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