X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fmodel%2Fcomponents%2FGUIOrGate.java;h=a732509b4f4b7b57bbef54b07e738dbbc0092e65;hb=8e290cad73b372b954f7677f2287c6a9eb9a6313;hp=df64bba1800f9cc35648aab75048b3bd789fa66c;hpb=4d29cabdc45d68b5e5f210266dc4fbc5560dbcdd;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/model/components/GUIOrGate.java b/LogicUI/src/era/mi/gui/model/components/GUIOrGate.java index df64bba1..a732509b 100644 --- a/LogicUI/src/era/mi/gui/model/components/GUIOrGate.java +++ b/LogicUI/src/era/mi/gui/model/components/GUIOrGate.java @@ -2,11 +2,11 @@ package era.mi.gui.model.components; import era.mi.gui.model.ViewModel; -public class GUIOrGate extends RectangularShapedGUIGate +public class GUIOrGate extends SimpleRectangularGUIGate { - public GUIOrGate(ViewModel model) + public GUIOrGate(ViewModel model, int logicWidth) { - super(model, "\u22651", false);// ">=1" + super(model, logicWidth, "\u22651", false);// ">=1" setInputCount(2); } } \ No newline at end of file