Skip to content
Snippets Groups Projects
Commit 275a3e39 authored by Ludovic Apvrille's avatar Ludovic Apvrille
Browse files

Resolving issue 35' on badly displayed arrows

parent e3a1cf46
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -87,7 +87,12 @@ public class AvatarRDDeriveConnector extends TGConnectorWithCommentConnectionPo
drawSingleString(g, value, (x1 + x2 - w) / 2, (y1 + y2)/2);
g.setFont(old);
}
protected void drawMiddleSegment(Graphics g, int x1, int y1, int x2, int y2) {
GraphicLib.dashedLine(g, x1, y1, x2, y2);
}
@Override
public TGComponent extraIsOnOnlyMe(int x1, int y1) {
if (GraphicLib.isInRectangle(x1, y1, (p1.getX() + p2.getX() - w) / 2, (p1.getY() + p2.getY())/2 - h, w, h)) {
......
......@@ -66,7 +66,10 @@ public class AvatarRDRefineConnector extends TGConnectorWithCommentConnectionPo
myImageIcon = IconManager.imgic1008;
}
protected void drawMiddleSegment(Graphics g, int x1, int y1, int x2, int y2) {
GraphicLib.dashedLine(g, x1, y1, x2, y2);
}
protected void drawLastSegment(Graphics g, int x1, int y1, int x2, int y2){
......
......@@ -68,6 +68,10 @@ public class AvatarRDSatisfyConnector extends TGConnectorWithCommentConnectionP
myImageIcon = IconManager.imgic1006;
}
protected void drawMiddleSegment(Graphics g, int x1, int y1, int x2, int y2) {
GraphicLib.dashedLine(g, x1, y1, x2, y2);
}
protected void drawLastSegment(Graphics g, int x1, int y1, int x2, int y2){
GraphicLib.dashedArrowWithLine(g, 1, 1, 0, x1, y1, x2, y2, false);
......
......@@ -66,6 +66,10 @@ public class AvatarRDVerifyConnector extends TGConnectorWithCommentConnectionPo
myImageIcon = IconManager.imgic1006;
}
protected void drawMiddleSegment(Graphics g, int x1, int y1, int x2, int y2) {
GraphicLib.dashedLine(g, x1, y1, x2, y2);
}
protected void drawLastSegment(Graphics g, int x1, int y1, int x2, int y2){
GraphicLib.dashedArrowWithLine(g, 1, 1, 0, x1, y1, x2, y2, false);
......
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