X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fmodel%2Fcomponents%2FGUIOrGate.java;h=a732509b4f4b7b57bbef54b07e738dbbc0092e65;hb=daa558fbbd87e334d370f1a9d791adc6a3c14ca6;hp=df64bba1800f9cc35648aab75048b3bd789fa66c;hpb=0d509bfe3e0576ce146d222d57972ccbbc1d0972;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