Added concept of wire width to GUIComponents and GUIWires
[Mograsim.git] / LogicUI / src / era / mi / gui / model / wires / WireCrossPoint.java
index 7c19c13..c54cdd9 100644 (file)
@@ -12,11 +12,11 @@ public class WireCrossPoint extends GUIComponent
 {
        private ReadEnd end;
 
-       public WireCrossPoint(ViewModel model)
+       public WireCrossPoint(ViewModel model, int logicWidth)
        {
                super(model);
                setSize(0, 0);
-               addPin(new Pin(this, 0, 0));
+               addPin(new Pin(this, logicWidth, 0, 0));
        }
 
        @Override