157 |
|
|
158 |
final GraphicsAPI api = GraphicsAPI.getInstance(); |
final GraphicsAPI api = GraphicsAPI.getInstance(); |
159 |
|
|
|
nodeView = new DefaultNodeView(this); |
|
|
view = new ViewSettings(nodeView); |
|
160 |
final Shower s = new Shower() { |
final Shower s = new Shower() { |
161 |
Screen screen; |
Screen screen; |
162 |
public void setScreen(Screen s) { |
public void setScreen(Screen s) { |
165 |
public VobScene generate() { |
public VobScene generate() { |
166 |
VobScene old = this.screen.getVobSceneForEvents(); |
VobScene old = this.screen.getVobSceneForEvents(); |
167 |
VobScene sc = this.screen.window.createVobScene(); |
VobScene sc = this.screen.window.createVobScene(); |
168 |
sc.map.put(new SolidBackdropVob(colors.getBg()), 0); |
sc.map.put(new SolidBackdropVob(colors.getBg())); |
169 |
|
|
170 |
if(model == null) return sc; |
if(model == null) return sc; |
171 |
|
|
199 |
|
|
200 |
api.startUpdateManager(new Runnable() { |
api.startUpdateManager(new Runnable() { |
201 |
public void run() { |
public void run() { |
202 |
|
nodeView = new DefaultNodeView(Loom.this); |
203 |
|
view = new ViewSettings(nodeView); |
204 |
Screen scr = new Screen(api.createWindow(), b, s); |
Screen scr = new Screen(api.createWindow(), b, s); |
205 |
frame = ((org.nongnu.libvob.impl.awt.FrameScreen)scr.window) |
if(scr.window instanceof org.nongnu.libvob.impl.awt.FrameScreen) { |
206 |
.getFrame(); |
frame = ((org.nongnu.libvob.impl.awt.FrameScreen)scr.window) |
207 |
|
.getFrame(); |
208 |
|
} else { |
209 |
|
frame = new Frame("FF"); |
210 |
|
frame.show(); |
211 |
|
} |
212 |
frame.setTitle("Fenfire Loom"); |
frame.setTitle("Fenfire Loom"); |
213 |
msgBox = new org.fenfire.util.MsgBox(frame); |
msgBox = new org.fenfire.util.MsgBox(frame); |
214 |
|
|