projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made formatting uniform - commit for logicui
[Mograsim.git]
/
LogicUI
/
src
/
era
/
mi
/
gui
/
components
/
GUINotGate.java
diff --git
a/LogicUI/src/era/mi/gui/components/GUINotGate.java
b/LogicUI/src/era/mi/gui/components/GUINotGate.java
index
24702fc
..
71e1d13
100644
(file)
--- a/
LogicUI/src/era/mi/gui/components/GUINotGate.java
+++ b/
LogicUI/src/era/mi/gui/components/GUINotGate.java
@@
-13,10
+13,10
@@
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
\r
public class GUINotGate extends NotGate implements BasicGUIComponent
\r
{
\r
\r
public class GUINotGate extends NotGate implements BasicGUIComponent
\r
{
\r
- private static final String LABEL = "\u22651";//>=1
\r
+ private static final String LABEL = "\u22651";//
>=1
\r
\r
\r
- private final List<WireArray>
connectedWireArrays;
\r
- private final List<Point>
wireArrayConnectionPoints;
\r
+ private final List<WireArray> connectedWireArrays;
\r
+ private final List<Point> wireArrayConnectionPoints;
\r
\r
public GUINotGate(int processTime, WireArray in, WireArray out)
\r
{
\r
\r
public GUINotGate(int processTime, WireArray in, WireArray out)
\r
{
\r
@@
-40,6
+40,7
@@
public class GUINotGate extends NotGate implements BasicGUIComponent
{
\r
return new Rectangle(0, 0, 20, 10);
\r
}
\r
{
\r
return new Rectangle(0, 0, 20, 10);
\r
}
\r
+
\r
@Override
\r
public void render(GeneralGC gc)
\r
{
\r
@Override
\r
public void render(GeneralGC gc)
\r
{
\r
@@
-58,11
+59,13
@@
public class GUINotGate extends NotGate implements BasicGUIComponent
{
\r
return connectedWireArrays.size();
\r
}
\r
{
\r
return connectedWireArrays.size();
\r
}
\r
+
\r
@Override
\r
public WireArray getConnectedWireArray(int connectionIndex)
\r
{
\r
return connectedWireArrays.get(connectionIndex);
\r
}
\r
@Override
\r
public WireArray getConnectedWireArray(int connectionIndex)
\r
{
\r
return connectedWireArrays.get(connectionIndex);
\r
}
\r
+
\r
@Override
\r
public Point getWireArrayConnectionPoint(int connectionI)
\r
{
\r
@Override
\r
public Point getWireArrayConnectionPoint(int connectionI)
\r
{
\r