Skip to content

Commit

Permalink
fixes #350
Browse files Browse the repository at this point in the history
  • Loading branch information
zergud committed Nov 15, 2023
1 parent 49e3809 commit e8e8f13
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion qucs/spicecomponents/Icouple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Icouple::Icouple()


x1 = -45; y1 = -45;
x2 = 50; y2 = 45;
x2 = 65; y2 = 45;

tx = x1+5;
ty = y2+5;
Expand Down
4 changes: 2 additions & 2 deletions qucs/spicecomponents/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ core::core()
Ports.append(new Port( -40, 0)); // Pin
Ports.append(new Port( 40, 0)); // Pout

x1 = -35; y1 = -30;
x2 = 35; y2 = 30;
x1 = -45; y1 = -30;
x2 = 45; y2 = 30;

tx = x1+5;
ty = y2+5;
Expand Down
2 changes: 1 addition & 1 deletion qucs/spicecomponents/eNL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ eNL::eNL()
// Value, Table and POLY forms are allowed.

Arcs.append(new qucs::Arc(-14,-14, 28, 28, 0, 16*360,QPen(Qt::blue,3)));
Texts.append(new Text(30,12,"ENL",Qt::blue,10.0,0.0,-1.0));
Texts.append(new Text(36,4,"ENL",Qt::blue,10.0,0.0,-1.0));
Lines.append(new qucs::Line(-30, 0,-14, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( 30, 0, 14, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( 18, -5, 18, -11,QPen(Qt::red,2)));
Expand Down
2 changes: 1 addition & 1 deletion qucs/spicecomponents/gNL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ gNL::gNL()
// Value, Table and POLY forms are allowed: should work with ngspice and Xyce.

Arcs.append(new qucs::Arc(-14,-14, 28, 28, 0, 16*360,QPen(Qt::blue,3)));
Texts.append(new Text(30, 12,"GNL",Qt::blue,10.0,0.0,-1.0));
Texts.append(new Text(36, 4,"GNL",Qt::blue,10.0,0.0,-1.0));
Lines.append(new qucs::Line(-30, 0,-14, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( 30, 0, 14, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( -7, 0, 7, 0,QPen(Qt::darkBlue,3)));
Expand Down
2 changes: 1 addition & 1 deletion qucs/spicecomponents/iPWL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ iPWL::iPWL()

// normal voltage source symbol
Arcs.append(new qucs::Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkRed,3)));
Texts.append(new Text(30, 12,"PWL",Qt::darkRed,10.0,0.0,-1.0));
Texts.append(new Text(36, 4,"PWL",Qt::darkRed,10.0,0.0,-1.0));
Lines.append(new qucs::Line(-30, 0,-12, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( 30, 0, 12, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( -7, 0, 7, 0,QPen(Qt::darkRed,3)));
Expand Down
2 changes: 1 addition & 1 deletion qucs/spicecomponents/isffm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ iSffm::iSffm()
// normal current source symbol

Arcs.append(new qucs::Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkRed,3)));
Texts.append(new Text(36, 4," SFFM",Qt::darkRed,10.0,0.0,-1.0));
Texts.append(new Text(36, 4,"SFFM",Qt::darkRed,10.0,0.0,-1.0));
Lines.append(new qucs::Line(-30, 0,-12, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( 30, 0, 12, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( -7, 0, 7, 0,QPen(Qt::darkRed,3)));
Expand Down
2 changes: 1 addition & 1 deletion qucs/spicecomponents/vPWL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ vPWL::vPWL()
Simulator = spicecompat::simSpice;

Arcs.append(new qucs::Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkRed,3)));
Texts.append(new Text(30, 12,"PWL",Qt::darkRed,10.0,0.0,-1.0));
Texts.append(new Text(36, 4,"PWL",Qt::darkRed,10.0,0.0,-1.0));
Lines.append(new qucs::Line(-30, 0,-12, 0,QPen(Qt::darkBlue,3)));
Lines.append(new qucs::Line( 30, 0, 12, 0,QPen(Qt::darkBlue,3)));
Lines.append(new qucs::Line( 18, -5, 18, -11,QPen(Qt::red,3)));
Expand Down
4 changes: 2 additions & 2 deletions qucs/spicecomponents/vsffm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ vSffm::vSffm()
Simulator = spicecompat::simSpice;

// normal voltage source symbol
Arcs.append(new qucs::Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkRed,3)));
Texts.append(new Text(36, 4," SFFM",Qt::darkRed,10.0,0.0,-1.0));
Arcs.append(new qucs::Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkRed,3)));
Texts.append(new Text(36, 4,"SFFM",Qt::darkRed,10.0,0.0,-1.0));
Lines.append(new qucs::Line(-30, 0,-12, 0,QPen(Qt::darkBlue,2)));
Lines.append(new qucs::Line( 30, 0, 12, 0,QPen(Qt::darkBlue,2)));

Expand Down

0 comments on commit e8e8f13

Please sign in to comment.