Added concept of wire width to GUIComponents and GUIWires
[Mograsim.git] / LogicUI / src / era / mi / gui / model / components / GUIAndGate.java
index 4f69d36..5e5c787 100644 (file)
@@ -2,11 +2,11 @@ package era.mi.gui.model.components;
 
 import era.mi.gui.model.ViewModel;
 
-public class GUIAndGate extends RectangularShapedGUIGate
+public class GUIAndGate extends SimpleRectangularGUIGate
 {
-       public GUIAndGate(ViewModel model)
+       public GUIAndGate(ViewModel model, int logicWidth)
        {
-               super(model, "&", false);
+               super(model, logicWidth, "&", false);
                setInputCount(2);
        }
 }
\ No newline at end of file