/[gzz]/gzz/gzz/modules/pp/vob/TextCursorVob.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp/vob/TextCursorVob.java

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

revision 1.8 by tjl, Thu Dec 5 10:57:34 2002 UTC revision 1.9 by tjl, Sun Jan 12 11:41:46 2003 UTC
# Line 46  public static final String rcsid = "$Id$ Line 46  public static final String rcsid = "$Id$
46      }      }
47    
48      // Emulate... ;)      // Emulate... ;)
49      static Vob crosshair;      static Vob vertline;
50    
51      public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win,      public int putGL(VobScene vs, int coordsys1) {
                         int[] list, int curs, int coordsys1,  
                                 int coordsys2) {  
52    
53          if (crosshair == null) {          if (vertline == null) {
54              crosshair = GLRen.createCallListBoxCoorded(              vertline = GLRen.createCallListBoxCoorded(
55                "Begin LINE_STRIP\nVertex 0 1\nVertex 0 -1\nEnd\n");                "Begin LINE_STRIP\nVertex 0 1\nVertex 0 -1\nEnd\n");
56          }          }
57          curs = crosshair.addToListGL(win, list, curs, coordsys1, coordsys2);          vs.map.put(vertline, coordsys1);
58          return curs;          return 0;
59      }      }
60  }  }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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