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

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

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

revision 1.3 by benja, Sun Apr 6 23:21:04 2003 UTC revision 1.3.2.1 by benja, Tue Apr 29 18:07:15 2003 UTC
# Line 28  package org.fenfire.loom; Line 28  package org.fenfire.loom;
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.*;
# Line 141  public class Loom { Line 140  public class Loom {
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;
# Line 178  public class Loom { Line 177  public class Loom {
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;
# Line 203  public class Loom { Line 207  public class Loom {
207                                                                                        
208                          lastFocus = null; lastRotation = null;                          lastFocus = null; lastRotation = null;
209                      }                      }
210                                                                  **/
211                                                                                        
212                      return sc;                      return sc;
213                  }                  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

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