projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'development' of
[Mograsim.git]
/
LogicUI
/
src
/
era
/
mi
/
gui
/
model
/
wires
/
Pin.java
diff --git
a/LogicUI/src/era/mi/gui/model/wires/Pin.java
b/LogicUI/src/era/mi/gui/model/wires/Pin.java
index
44ea374
..
abafc07
100644
(file)
--- a/
LogicUI/src/era/mi/gui/model/wires/Pin.java
+++ b/
LogicUI/src/era/mi/gui/model/wires/Pin.java
@@
-11,15
+11,17
@@
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
public class Pin
{
public final GUIComponent component;
public class Pin
{
public final GUIComponent component;
+ public final int logicWidth;
protected double relX;
protected double relY;
private final List<Consumer<? super Pin>> pinMovedListeners;
protected double relX;
protected double relY;
private final List<Consumer<? super Pin>> pinMovedListeners;
- public Pin(GUIComponent component, double relX, double relY)
+ public Pin(GUIComponent component,
int logicWidth,
double relX, double relY)
{
this.component = component;
{
this.component = component;
+ this.logicWidth = logicWidth;
this.relX = relX;
this.relY = relY;
this.relX = relX;
this.relY = relY;