56 |
|
|
57 |
public void render(VobScene sc, int into, Cursor c) { |
public void render(VobScene sc, int into, Cursor c) { |
58 |
int midx = sc.size.width/2, midy = sc.size.height/2; |
int midx = sc.size.width/2, midy = sc.size.height/2; |
59 |
int cs = sc.boxCS(into, c.focus, midx-25, midy-10, 50, 20); |
int cs = sc.orthoBoxCS(into, c.focus, 0, midx-25, midy-10, 1, 1, 50, 20); |
60 |
nodeView.render(sc, cs, c.focus); |
nodeView.render(sc, cs, c.focus); |
61 |
|
|
62 |
SortedSet nodes = c.getPoswardConnections(); |
SortedSet nodes = c.getPoswardConnections(); |
66 |
|
|
67 |
for(Iterator j=nodes.iterator(); j.hasNext();) { |
for(Iterator j=nodes.iterator(); j.hasNext();) { |
68 |
RDFNode node = (RDFNode)j.next(); |
RDFNode node = (RDFNode)j.next(); |
69 |
int cs2 = sc.boxCS(into, node, x, y, 50, 20); |
int cs2 = sc.orthoBoxCS(into, node, 0, x, y, 1, 1, 50, 20); |
70 |
nodeView.render(sc, cs2, node); |
nodeView.render(sc, cs2, node); |
71 |
sc.map.put(conn, cs, cs2); |
sc.map.put(conn, cs, cs2); |
72 |
y += 50; |
y += 50; |