mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 06:22:48 -04:00
reverted all wire style changes
This commit is contained in:
parent
a355ca7555
commit
de5a4966c6
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user