projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added concept of wire width to GUIComponents and GUIWires
[Mograsim.git]
/
LogicUI
/
src
/
era
/
mi
/
gui
/
model
/
components
/
GUIOrGate.java
diff --git
a/LogicUI/src/era/mi/gui/model/components/GUIOrGate.java
b/LogicUI/src/era/mi/gui/model/components/GUIOrGate.java
index
df64bba
..
a732509
100644
(file)
--- 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;
import era.mi.gui.model.ViewModel;
-public class GUIOrGate extends
RectangularShaped
GUIGate
+public class GUIOrGate extends
SimpleRectangular
GUIGate
{
{
- 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
setInputCount(2);
}
}
\ No newline at end of file