X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fmodel%2Fcomponents%2FGUIAndGate.java;h=5e5c787a9f6b67e7207cce22eeba08181cc6dfa8;hb=8e290cad73b372b954f7677f2287c6a9eb9a6313;hp=4f69d36dc28ee5309c06447f7744f71f18f41011;hpb=4d29cabdc45d68b5e5f210266dc4fbc5560dbcdd;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..5e5c787a 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); + super(model, logicWidth, "&", false); setInputCount(2); } } \ No newline at end of file