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; |
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) { |