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