reverted all wire style changes

This commit is contained in:
hneemann 2017-05-29 13:11:07 +02:00
parent a355ca7555
commit de5a4966c6
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ public class Style {
/**
* Used for low wires in running mode
*/
public static final Style WIRE_LOW = new Style(WIRETHICK, true, new Color(0, 112, 0));
public static final Style WIRE_LOW = new Style(WIRETHICK, true, new Color(0, 142, 0));
/**
* Used for high wires in running mode
*/
@ -67,7 +67,7 @@ public class Style {
/**
* used to draw the bus wires
*/
public static final Style WIRE_BUS = NORMAL;
public static final Style WIRE_BUS = WIRE;
/**
* Filled style used to fill the splitter or the dark LEDs

View File

@ -59,12 +59,12 @@ public class SplitterShape implements Shape {
for (int i = 0; i < inputs.size(); i++) {
Vector pos = new Vector(-2, i * SIZE - 3);
graphic.drawText(pos, pos.add(2, 0), inputs.get(i).getName(), Orientation.RIGHTBOTTOM, Style.SHAPE_PIN);
graphic.drawLine(new Vector(0, i * SIZE), new Vector(SIZE2, i * SIZE), Style.WIRE);
graphic.drawLine(new Vector(0, i * SIZE), new Vector(SIZE2, i * SIZE), Style.NORMAL);
}
for (int i = 0; i < outputs.size(); i++) {
Vector pos = new Vector(SIZE + 2, i * SIZE - 3);
graphic.drawText(pos, pos.add(2, 0), outputs.get(i).getName(), Orientation.LEFTBOTTOM, Style.SHAPE_PIN);
graphic.drawLine(new Vector(SIZE, i * SIZE), new Vector(SIZE2, i * SIZE), Style.WIRE);
graphic.drawLine(new Vector(SIZE, i * SIZE), new Vector(SIZE2, i * SIZE), Style.NORMAL);
}
graphic.drawPolygon(new Polygon(true)