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) { |
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 |
|
|