Made FixedOutput smaller
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Sat, 12 Oct 2019 14:15:17 +0000 (16:15 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Sat, 12 Oct 2019 14:15:17 +0000 (16:15 +0200)
plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json
plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java

index b8eb665..ae825b1 100644 (file)
         "id": "FixedOutput",
         "name": "FixedOutput#0",
         "pos": {
-          "x": 540.0,
+          "x": 555.0,
           "y": 270.0
         },
         "params": {
         "id": "FixedOutput",
         "name": "FixedOutput#1",
         "pos": {
-          "x": 635.0,
-          "y": 380.0
+          "x": 645.0,
+          "y": 390.0
         },
         "params": {
           "bits": [
         "id": "FixedOutput",
         "name": "FixedOutput#2",
         "pos": {
-          "x": 370.0,
-          "y": 505.0
+          "x": 385.0,
+          "y": 510.0
         },
         "params": {
           "bits": [
         "id": "FixedOutput",
         "name": "FixedOutput#4",
         "pos": {
-          "x": 420.0,
+          "x": 430.0,
           "y": 570.0
         },
         "params": {
         "id": "FixedOutput",
         "name": "FixedOutput#5",
         "pos": {
-          "x": 475.0,
-          "y": 505.0
+          "x": 485.0,
+          "y": 510.0
         },
         "params": {
           "bits": [
         "id": "FixedOutput",
         "name": "FixedOutput#6",
         "pos": {
-          "x": 535.0,
-          "y": 370.0
+          "x": 545.0,
+          "y": 380.0
         },
         "params": {
           "bits": [
         "id": "FixedOutput",
         "name": "FixedOutput#7",
         "pos": {
-          "x": 260.0,
-          "y": 370.0
+          "x": 270.0,
+          "y": 380.0
         },
         "params": {
           "bits": [
         "path": [
           {
             "x": 660.0,
-            "y": 390.0
+            "y": 395.0
           }
         ]
       },
         "name": "unnamedWire#37",
         "path": [
           {
-            "x": 480.0,
+            "x": 470.0,
             "y": 540.0
           },
           {
-            "x": 480.0,
-            "y": 570.0
+            "x": 470.0,
+            "y": 565.0
           }
         ]
       },
         "path": [
           {
             "x": 445.0,
-            "y": 580.0
+            "y": 575.0
           }
         ]
       },
         "path": [
           {
             "x": 560.0,
-            "y": 380.0
+            "y": 385.0
           }
         ]
       },
         "path": [
           {
             "x": 570.0,
-            "y": 280.0
+            "y": 275.0
           }
         ]
       },
         "path": [
           {
             "x": 285.0,
-            "y": 380.0
+            "y": 385.0
           }
         ]
       },
index 9a62cad..1d70458 100644 (file)
@@ -23,8 +23,8 @@ import net.mograsim.preferences.Preferences;
 
 public class ModelFixedOutput extends ModelComponent
 {
-       private static final double width = 20;
-       private static final double height = 20;
+       private static final double width = 10;
+       private static final double height = 10;
        private static final double fontHeight = 5;
        private static final double textMargin = 0.5;