166 |
} |
} |
167 |
|
|
168 |
public VobScene generate() { |
public VobScene generate() { |
169 |
Dimension d = this.screen.window.getSize(); |
VobScene sc = this.screen.window.createVobScene(); |
|
if(dbg) pa("Window size used in VobScene: "+d); |
|
|
VobScene sc = this.screen.window.getGraphicsAPI().createVobScene(d); |
|
170 |
|
|
171 |
for(Iterator i=decorators.iterator(); i.hasNext();) { |
for(Iterator i=decorators.iterator(); i.hasNext();) { |
172 |
FallbackSceneDecorator dec = |
FallbackSceneDecorator dec = |
185 |
return viewList[viewIndex]; |
return viewList[viewIndex]; |
186 |
} |
} |
187 |
|
|
|
public void chg() { |
|
|
this.screen.window.chg(); |
|
|
} |
|
|
|
|
188 |
Win(ColorScheme colors) { |
Win(ColorScheme colors) { |
189 |
for(int i=0; i<dimsIndices.length; i++) |
for(int i=0; i<dimsIndices.length; i++) |
190 |
dimsIndices[i] = i % dimList.length; |
dimsIndices[i] = i % dimList.length; |
194 |
bg = colors.getBg(); |
bg = colors.getBg(); |
195 |
|
|
196 |
AbstractUpdateManager.addWindow(new Screen( |
AbstractUpdateManager.addWindow(new Screen( |
197 |
gfxapi.createWindow(bg), |
gfxapi.createWindow(), |
198 |
binder, |
binder, |
199 |
this |
this |
200 |
)); |
)); |