mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-30 08:23:37 -04:00
renamed VDD to VCC in power supply
This commit is contained in:
parent
da3f2311e5
commit
b630f7d6ed
@ -20,7 +20,7 @@ public class PowerSupply implements Element {
|
|||||||
* Enforces a power supply
|
* Enforces a power supply
|
||||||
*/
|
*/
|
||||||
public static final ElementTypeDescription DESCRIPTION
|
public static final ElementTypeDescription DESCRIPTION
|
||||||
= new ElementTypeDescription(PowerSupply.class, input("VDD"), input("GND"))
|
= new ElementTypeDescription(PowerSupply.class, input("VCC"), input("GND"))
|
||||||
.addAttribute(Keys.ROTATE)
|
.addAttribute(Keys.ROTATE)
|
||||||
.addAttribute(Keys.LABEL);
|
.addAttribute(Keys.LABEL);
|
||||||
|
|
||||||
|
@ -730,7 +730,7 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
|
|||||||
.setPos(new Vector(SIZE * 2, 0)));
|
.setPos(new Vector(SIZE * 2, 0)));
|
||||||
list.add(new VisualElement(In.DESCRIPTION.getName())
|
list.add(new VisualElement(In.DESCRIPTION.getName())
|
||||||
.setShapeFactory(shapeFactory)
|
.setShapeFactory(shapeFactory)
|
||||||
.setAttribute(Keys.LABEL, "VDD")
|
.setAttribute(Keys.LABEL, "VCC")
|
||||||
.setAttribute(Keys.PINNUMBER, maxNum)
|
.setAttribute(Keys.PINNUMBER, maxNum)
|
||||||
.setPos(new Vector(0, 0)));
|
.setPos(new Vector(0, 0)));
|
||||||
list.add(new VisualElement(In.DESCRIPTION.getName())
|
list.add(new VisualElement(In.DESCRIPTION.getName())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user