summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorSamuel GOUGEON <sgougeon@free.fr>2021-05-10 19:44:51 +0200
committerClément David <clement.david@esi-group.com>2021-05-17 11:37:20 +0200
commit8e75c840b88eaa088922dabcbb787b266eac1ed2 (patch)
tree07c34af4bee013e28ef08a23ea36118842f30ccc /scilab
parent593f56a7bfb88606a132a7d436e778ef310df134 (diff)
downloadscilab-8e75c840b88eaa088922dabcbb787b266eac1ed2.zip
scilab-8e75c840b88eaa088922dabcbb787b266eac1ed2.tar.gz
[xcos] OpAmp icon was too big
No need to have it so big and most often resize it: https://help.scilab.org/docs/6.1.0/en_US/OpAmp.html Change-Id: I09f6ea635e8c29e5231d8a52e2cc00fc3e1f2852
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/helptools/images/OpAmp.pngbin3722 -> 2703 bytes
-rw-r--r--scilab/modules/scicos_blocks/macros/Electrical/OpAmp.sci1
-rw-r--r--scilab/modules/xcos/etc/Xcos-style.xml2
-rw-r--r--scilab/modules/xcos/images/palettes/OpAmp.pngbin3722 -> 2703 bytes
4 files changed, 2 insertions, 1 deletions
diff --git a/scilab/modules/helptools/images/OpAmp.png b/scilab/modules/helptools/images/OpAmp.png
index b76f65a..b4158a2 100644
--- a/scilab/modules/helptools/images/OpAmp.png
+++ b/scilab/modules/helptools/images/OpAmp.png
Binary files differ
diff --git a/scilab/modules/scicos_blocks/macros/Electrical/OpAmp.sci b/scilab/modules/scicos_blocks/macros/Electrical/OpAmp.sci
index 2aa902c..d11b21d 100644
--- a/scilab/modules/scicos_blocks/macros/Electrical/OpAmp.sci
+++ b/scilab/modules/scicos_blocks/macros/Electrical/OpAmp.sci
@@ -71,6 +71,7 @@ function [x,y,typ]=OpAmp(job,arg1,arg2)
71 x=standard_define([3 5],model,exprs,gr_i) 71 x=standard_define([3 5],model,exprs,gr_i)
72 x.graphics.in_implicit=["I";"I"] 72 x.graphics.in_implicit=["I";"I"]
73 x.graphics.out_implicit=["I"] 73 x.graphics.out_implicit=["I"]
74 x.graphics.sz = [2.5 3]
74 end 75 end
75endfunction 76endfunction
76// OpAmp 77// OpAmp
diff --git a/scilab/modules/xcos/etc/Xcos-style.xml b/scilab/modules/xcos/etc/Xcos-style.xml
index d81da20..9dd46cb 100644
--- a/scilab/modules/xcos/etc/Xcos-style.xml
+++ b/scilab/modules/xcos/etc/Xcos-style.xml
@@ -886,7 +886,7 @@
886 <add as="shape" value="triangle"/> 886 <add as="shape" value="triangle"/>
887 <add as="perimeter" value="trianglePerimeter"/> 887 <add as="perimeter" value="trianglePerimeter"/>
888 <add as="direction" value="east"/> 888 <add as="direction" value="east"/>
889 <add as="displayedLabel" value="&lt;TABLE&gt; &lt;TR&gt; &lt;TD&gt;+&lt;/TD&gt; &lt;TD&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt; &lt;TD&gt;&lt;/TD&gt; &lt;TD&gt;OP&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt; &lt;TD&gt;-&lt;/TD&gt; &lt;TD&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;/TABLE&gt;"/> 889 <add as="displayedLabel" value="&lt;TABLE&gt; &lt;TR&gt;&lt;TD&gt;+&lt;BR&gt;-&lt;/TD&gt;&lt;TD&gt;OP&lt;/TD&gt;&lt;/TR&gt; &lt;/TABLE&gt;"/>
890 <add as="spacing" value="0"/> 890 <add as="spacing" value="0"/>
891 <add as="spacingRight" value="5"/> 891 <add as="spacingRight" value="5"/>
892 <add as="spacingTop" value="7"/> 892 <add as="spacingTop" value="7"/>
diff --git a/scilab/modules/xcos/images/palettes/OpAmp.png b/scilab/modules/xcos/images/palettes/OpAmp.png
index b76f65a..b4158a2 100644
--- a/scilab/modules/xcos/images/palettes/OpAmp.png
+++ b/scilab/modules/xcos/images/palettes/OpAmp.png
Binary files differ