40 |
|
|
41 |
public class RectBgVob extends Vob { |
public class RectBgVob extends Vob { |
42 |
public static final String rcsid = "$Id$"; |
public static final String rcsid = "$Id$"; |
43 |
public static final boolean dbg = true; |
public static boolean dbg = false; |
44 |
static final void p(String s) { if(dbg) System.out.println(s); } |
static final void p(String s) { if(dbg) System.out.println(s); } |
45 |
static final void pa(String s) { System.out.println(s); } |
static final void pa(String s) { System.out.println(s); } |
46 |
|
|
97 |
public int addToListGL(GraphicsAPI.Window win, |
public int addToListGL(GraphicsAPI.Window win, |
98 |
int[] list, int curs, int coordsys1, |
int[] list, int curs, int coordsys1, |
99 |
int coordsys2) { |
int coordsys2) { |
100 |
|
if(dbg) pa("Addtolistgl rectbg "+coordsys1); |
101 |
if(glList == null) { |
if(glList == null) { |
102 |
glList = GZZGL.createCallListCoorded( |
glList = GZZGL.createCallListCoorded( |
103 |
"Color "+ColorUtil.colorGLString(bg)+" 1\n" + |
"Color "+ColorUtil.colorGLString(Color.green)+" 1\n" + |
104 |
"Begin QUAD_STRIP\n"+ |
"Begin QUAD_STRIP\n"+ |
105 |
"Vertex 1 1\nVertex 1 -1\n"+ |
"Vertex 1 1\nVertex 1 -1\n"+ |
106 |
"Vertex -1 1\nVertex -1 -1\n"+ |
"Vertex -1 1\nVertex -1 -1\n"+ |