Added "Sub-Mini" tube

This commit is contained in:
bancika
2020-04-15 19:53:10 +02:00
parent a18a226020
commit e78c6148c7
6 changed files with 574 additions and 535 deletions
@@ -2938,6 +2938,10 @@
<changeType>NEW_FEATURE</changeType>
<description>Added "Find" functionality that locates and selects component(s) matching the search text</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>NEW_FEATURE</changeType>
<description>Added "Sub-Mini" tube</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>NEW_FEATURE</changeType>
<description>Added "Tag Strip" component for point-to-point layouts</description>
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -343,9 +343,9 @@ public class TubeSocket extends AbstractTransparentComponent<String> {
Area area = new Area(new Ellipse2D.Double(1, 1, width - 2, width - 2));
int center = width / 2;
area.subtract(new Area(new Ellipse2D.Double(center - 2, center - 2, 5, 5)));
g2d.setColor(getColor());
g2d.setColor(BODY_COLOR);
g2d.fill(area);
g2d.setColor(getColor().darker());
g2d.setColor(BODY_COLOR.darker());
g2d.draw(area);
int radius = width / 2 - 6;
Binary file not shown.
Binary file not shown.