/[fenfire]/fenfire/org/fenfire/loom/Loom.java
ViewVC logotype

Diff of /fenfire/org/fenfire/loom/Loom.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.44 by benja, Sat Mar 22 21:04:43 2003 UTC revision 1.45 by tjl, Wed Mar 26 11:49:49 2003 UTC
# Line 157  public class Loom { Line 157  public class Loom {
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) {
# Line 167  public class Loom { Line 165  public class Loom {
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    
# Line 201  public class Loom { Line 199  public class Loom {
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    

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26