X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fmodel%2Fcomponents%2FGUIAndGate.java;h=65f1db4e6ed391001c507a81f77f33f74065ecad;hb=80bfbd8ebf0ad8a7ad98584544a0c73f43e6f3b6;hp=4f69d36dc28ee5309c06447f7744f71f18f41011;hpb=72198e2b8d4aebb6e4096802030960e029948100;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