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

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

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

revision 1.3 by benja, Mon Apr 7 01:07:21 2003 UTC revision 1.3.2.1 by benja, Sat Jul 5 20:40:42 2003 UTC
# Line 46  public class DefaultNodeView implements Line 46  public class DefaultNodeView implements
46    
47      protected OvalBgVob resourceVob;      protected OvalBgVob resourceVob;
48      protected RectBgVob literalVob;      protected RectBgVob literalVob;
49    
50        public static final Object TEXT_CS_KEY = "text";
51            
52      public DefaultNodeView(Loom loom) {      public DefaultNodeView(Loom loom) {
53          this.loom = loom;          this.loom = loom;
# Line 154  public class DefaultNodeView implements Line 156  public class DefaultNodeView implements
156          float x = 75-w/2;          float x = 75-w/2;
157          float y = 10-h/2;          float y = 10-h/2;
158                    
159          int textCs = sc.orthoCS(into, "text", 0, x, y, h, h);          int textCs = sc.orthoCS(into, TEXT_CS_KEY, 0, x, y, h, h);
160          sc.map.put(new TextVob(style, s), textCs);          sc.map.put(new TextVob(style, s), textCs);
161                    
162          if(prop != null) {          if(prop != null) {

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