X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fmodel%2Fcomponents%2FGUIAndGate.java;h=65f1db4e6ed391001c507a81f77f33f74065ecad;hb=daa558fbbd87e334d370f1a9d791adc6a3c14ca6;hp=4f69d36dc28ee5309c06447f7744f71f18f41011;hpb=50082bc2126d3f408acbdf4103bb4fdf29ac1d4f;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/model/components/GUIAndGate.java b/LogicUI/src/era/mi/gui/model/components/GUIAndGate.java index 4f69d36d..65f1db4e 100644 --- a/LogicUI/src/era/mi/gui/model/components/GUIAndGate.java +++ b/LogicUI/src/era/mi/gui/model/components/GUIAndGate.java @@ -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); - setInputCount(2); + super(model, logicWidth, "&", false); + setInputCount(2);// TODO make variable } } \ No newline at end of file