/[gzz]/gzz/gzz/vob/vobs/TDecor.java
ViewVC logotype

Diff of /gzz/gzz/vob/vobs/TDecor.java

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

revision 1.4 by tjl, Thu Dec 5 10:57:34 2002 UTC revision 1.5 by tjl, Sun Jan 12 11:41:47 2003 UTC
# Line 84  public static final String rcsid = "$Id$ Line 84  public static final String rcsid = "$Id$
84      }      }
85    
86      Vob decor;      Vob decor;
87      public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win,      public int putGL(VobScene vs, int coordsys1) {
                         int[] list, int curs, int coordsys1,  
                                 int coordsys2) {  
88          float r, g, b, a;          float r, g, b, a;
89          if(color != null) {          if(color != null) {
90              r = color.getRed()/255f;              r = color.getRed()/255f;
# Line 95  public static final String rcsid = "$Id$ Line 93  public static final String rcsid = "$Id$
93              a = 1f;              a = 1f;
94          } else { r = g = b = a = -1; }          } else { r = g = b = a = -1; }
95                            
96          decor = GLRen.createTDecor(horizontal, dir, 1, r, g, b, a);          if(decor == null)
97          curs = decor.addToListGL(win, list, curs, coordsys1, coordsys2);              decor = GLRen.createTDecor(horizontal, dir, 1, r, g, b, a);
98          return curs;  
99            vs.map.put(decor, coordsys1);
100            return 0;
101      }      }
102  }  }
103    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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