projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved code serializing a symbol renderer to where it belongs
[Mograsim.git]
/
net.mograsim.logic.ui.am2900
/
components
/
GUIsel3_4.json
diff --git
a/net.mograsim.logic.ui.am2900/components/GUIsel3_4.json
b/net.mograsim.logic.ui.am2900/components/GUIsel3_4.json
index
b1f4647
..
f999b22
100644
(file)
--- a/
net.mograsim.logic.ui.am2900/components/GUIsel3_4.json
+++ b/
net.mograsim.logic.ui.am2900/components/GUIsel3_4.json
@@
-1,7
+1,5
@@
-mograsim version: 0.1.
2
+mograsim version: 0.1.
3
{
{
- "type": "SimpleRectangularSubmodelComponent",
- "name": "GUIsel3_4",
"width": 35.0,
"height": 150.0,
"interfacePins": [
"width": 35.0,
"height": 150.0,
"interfacePins": [
@@
-158,7
+156,7
@@
mograsim version: 0.1.2
"logicWidth": 1
}
],
"logicWidth": 1
}
],
- "
composition
": {
+ "
submodel
": {
"innerScale": 0.2,
"subComps": [
{
"innerScale": 0.2,
"subComps": [
{
@@
-166,126
+164,102
@@
mograsim version: 0.1.2
"x": 35.0,
"y": 250.0
},
"x": 35.0,
"y": 250.0
},
- "name": "GUIsel2_4",
- "params": {}
+ "id": "GUIsel2_4"
},
{
"pos": {
"x": 75.0,
"y": 250.0
},
},
{
"pos": {
"x": 75.0,
"y": 250.0
},
- "name": "GUInot4",
- "params": {}
+ "id": "GUInot4"
},
{
"pos": {
"x": 50.0,
"y": 570.0
},
},
{
"pos": {
"x": 50.0,
"y": 570.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 50.0,
"y": 620.0
},
},
{
"pos": {
"x": 50.0,
"y": 620.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 50.0,
"y": 670.0
},
},
{
"pos": {
"x": 50.0,
"y": 670.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 50.0,
"y": 720.0
},
},
{
"pos": {
"x": 50.0,
"y": 720.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 152.5,
"y": 15.0
},
},
{
"pos": {
"x": 152.5,
"y": 15.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 152.5,
"y": 65.0
},
},
{
"pos": {
"x": 152.5,
"y": 65.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 152.5,
"y": 115.0
},
},
{
"pos": {
"x": 152.5,
"y": 115.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 152.5,
"y": 165.0
},
},
{
"pos": {
"x": 152.5,
"y": 165.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 29.0,
"y": 584.0
},
},
{
"pos": {
"x": 29.0,
"y": 584.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 29.0,
"y": 634.0
},
},
{
"pos": {
"x": 29.0,
"y": 634.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 29.0,
"y": 684.0
},
},
{
"pos": {
"x": 29.0,
"y": 684.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
}
],
"innerWires": [
}
],
"innerWires": [
@@
-880,31
+854,12
@@
mograsim version: 0.1.2
}
]
},
}
]
},
- "specialized": {
- "input_count": [
- "SA",
- "SB",
- "SC",
- "A1",
- "A2",
- "A3",
- "A4",
- "B1",
- "B2",
- "B3",
- "B4",
- "C1",
- "C2",
- "C3",
- "C4"
- ],
- "label": "GUIsel3_4",
- "logic_width": 1,
- "output_count": [
- "Y1",
- "Y2",
- "Y3",
- "Y4"
- ]
+ "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
+ "symbolRendererParams": {
+ "centerText": "GUIsel3_4",
+ "horizontalComponentCenter": 17.5,
+ "centerTextHeight": 5.0,
+ "pinLabelHeight": 3.5,
+ "pinLabelMargin": 0.5
}
}
\ No newline at end of file
}
}
\ No newline at end of file