Skip to content
Snippets Groups Projects
Commit 7fdc06d5 authored by Irina LEE's avatar Irina LEE
Browse files

fixed color and form / fixed CP orientation (eln)

parent 8b2de134
No related branches found
No related tags found
1 merge request!72Syscams
......@@ -102,7 +102,7 @@ public class ELNModuleTerminal extends TGCScalableWithInternalComponent implemen
connectingPoint = new TGConnectingPoint[nb];
int i;
for (i=0; i<nbConnectingPoint; i++) {
connectingPoint[i] = new ELNConnectingPoint(this, 0, 0, in, out, 0.5, 0.0);
connectingPoint[i] = new ELNConnectingPoint(this, 0, 0, in, out, 0.5, 1.0);
}
}
......@@ -144,10 +144,10 @@ public class ELNModuleTerminal extends TGCScalableWithInternalComponent implemen
}
Color c = g.getColor();
g.drawOval(x, y, width, height);
g.setColor(Color.WHITE);
g.fillOval(x, y, width, height);
g.setColor(c);
g.drawRect(x, y, width, height);
g.setColor(Color.black);
g.fillRect(x, y, width, height);
g.setFont(fold);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment