28 |
import org.fenfire.util.*; |
import org.fenfire.util.*; |
29 |
|
|
30 |
import org.nongnu.libvob.*; |
import org.nongnu.libvob.*; |
|
import org.nongnu.libvob.impl.DefaultVobMatcher; |
|
31 |
import org.nongnu.libvob.vobs.*; |
import org.nongnu.libvob.vobs.*; |
32 |
|
|
33 |
import java.awt.*; |
import java.awt.*; |
140 |
new Loom(file, ColorScheme.blue); |
new Loom(file, ColorScheme.blue); |
141 |
} |
} |
142 |
|
|
143 |
protected NodeView.Nodespec lastFocus; |
//protected NodeView.Nodespec lastFocus; |
144 |
protected NodeView.Nodespec lastRotation; |
//protected NodeView.Nodespec lastRotation; |
145 |
|
|
146 |
protected Frame frame; |
protected Frame frame; |
147 |
protected FileDialog fileDialog; |
protected FileDialog fileDialog; |
177 |
} |
} |
178 |
public VobScene generate() { |
public VobScene generate() { |
179 |
VobScene old = this.screen.getVobSceneForEvents(); |
VobScene old = this.screen.getVobSceneForEvents(); |
180 |
VobScene sc = this.screen.window.createVobScene(); |
VobScene sc0 = this.screen.window.createVobScene(); |
181 |
|
VobScene sc = new VobScene(sc0.map, sc0.coords, |
182 |
|
new LoomVobMatcher(), |
183 |
|
sc0.gfxapi, sc0.window, |
184 |
|
sc0.size); |
185 |
sc.map.put(new SolidBackdropVob(colors.getBg())); |
sc.map.put(new SolidBackdropVob(colors.getBg())); |
186 |
|
|
187 |
if(model == null) return sc; |
if(model == null) return sc; |
188 |
|
|
189 |
view.getView().render(sc, 0, cursor); |
view.getView().render(sc, 0, cursor); |
190 |
|
|
191 |
|
/** |
192 |
if(lastFocus != null) { |
if(lastFocus != null) { |
193 |
DefaultVobMatcher lm = (DefaultVobMatcher)old.matcher; |
DefaultVobMatcher lm = (DefaultVobMatcher)old.matcher; |
194 |
DefaultVobMatcher tm = (DefaultVobMatcher)sc.matcher; |
DefaultVobMatcher tm = (DefaultVobMatcher)sc.matcher; |
207 |
|
|
208 |
lastFocus = null; lastRotation = null; |
lastFocus = null; lastRotation = null; |
209 |
} |
} |
210 |
|
**/ |
211 |
|
|
212 |
return sc; |
return sc; |
213 |
} |
} |