Xcos: ude the new clock icons
Clément DAVID [Mon, 8 Mar 2010 17:06:22 +0000 (18:06 +0100)]
scilab/modules/xcos/etc/Xcos-style.xml
scilab/modules/xcos/images/blocks/CLOCK_c.svg [new file with mode: 0644]
scilab/modules/xcos/images/blocks/CLOCK_f.svg [new file with mode: 0644]

index c415fdb..5a0dab1 100644 (file)
                <add as="image" value="$SCILAB/modules/xcos/images/blocks/STEP_FUNCTION.svg" />
        </add>
        <add as="CLOCK_c" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_c.gif" />
+               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_c.svg" />
        </add>
        <add as="GENSIN_f" extend="blockWithLabel">
                <add as="displayedLabel" value="Sinusoid&lt;BR&gt;
                                    C binary file" />
        </add>
        <add as="TIME_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/TIME_f.gif" />
+               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_f.svg" />
        </add>
        <add as="Modulo_Count" extend="blockWithLabel">
                <!-- FIXME : Show parameters over block  -->
                                    0 &amp;#8594; 2" />
        </add>
        <add as="CLOCK_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_f.gif" />
+               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_c.svg" />
        </add>
        <add as="CLKSPLIT_f" extend="Split" />
        <add as="IMPSPLIT_f" extend="Split" />
diff --git a/scilab/modules/xcos/images/blocks/CLOCK_c.svg b/scilab/modules/xcos/images/blocks/CLOCK_c.svg
new file mode 100644 (file)
index 0000000..2dd44bc
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   version="1.1"
+   width="33.259418"
+   height="33.259418"
+   id="svg2855">
+  <defs
+     id="defs2857">
+    <linearGradient
+       id="linearGradient4741">
+      <stop
+         id="stop4743"
+         style="stop-color:#dcdcda;stop-opacity:1"
+         offset="0" />
+      <stop
+         id="stop4745"
+         style="stop-color:#bab9b7;stop-opacity:1"
+         offset="1" />
+    </linearGradient>
+  </defs>
+  <g
+     transform="translate(-358.3703,-515.73248)"
+     id="layer1">
+    <g
+       transform="matrix(0,0.68137177,-0.68137177,0,390.03482,516.42453)"
+       id="g31086">
+      <path
+         d="m 31.160714,16.910715 a 14.910714,14.910714 0 1 1 -29.8214281,0 14.910714,14.910714 0 1 1 29.8214281,0 z"
+         transform="matrix(1.5876104,0,0,1.5876104,-2.4081283,-4.7821171)"
+         id="path35549-4"
+         style="fill:none;stroke:#cc0000;stroke-width:0.92442554;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <path
+         d="m 16.40625,17.28125 a 1.21875,1.21875 0 1 1 -2.4375,0 1.21875,1.21875 0 1 1 2.4375,0 z"
+         transform="matrix(2.073295,0,0,2.073295,-7.310224,-13.13682)"
+         id="path34778"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.70787203;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <path
+         d="M 22.176614,20.718014 13.155702,13.140282"
+         id="path35559"
+         style="fill:none;stroke:#000000;stroke-width:2.93525505;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <path
+         d="m 19.408614,29.776506 2.960041,-4.493278"
+         id="path35561"
+         style="fill:none;stroke:#000000;stroke-width:2.93525505;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+    </g>
+  </g>
+</svg>
diff --git a/scilab/modules/xcos/images/blocks/CLOCK_f.svg b/scilab/modules/xcos/images/blocks/CLOCK_f.svg
new file mode 100644 (file)
index 0000000..1a6c333
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   version="1.1"
+   width="33.259418"
+   height="33.259418"
+   id="svg2855">
+  <g
+     transform="translate(-358.3703,-515.73248)"
+     id="layer1">
+    <g
+       transform="matrix(0,0.68137177,-0.68137177,0,390.03482,516.42453)"
+       id="g31086">
+      <path
+         d="m 31.160714,16.910715 a 14.910714,14.910714 0 1 1 -29.8214281,0 14.910714,14.910714 0 1 1 29.8214281,0 z"
+         transform="matrix(1.5876104,0,0,1.5876104,-2.4081283,-4.7821171)"
+         id="path35549-4"
+         style="fill:none;stroke:#000000;stroke-width:0.92442554;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <path
+         d="m 16.40625,17.28125 a 1.21875,1.21875 0 1 1 -2.4375,0 1.21875,1.21875 0 1 1 2.4375,0 z"
+         transform="matrix(2.073295,0,0,2.073295,-7.310224,-13.13682)"
+         id="path34778"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.70787203;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <path
+         d="M 22.176614,20.718014 13.155702,13.140282"
+         id="path35559"
+         style="fill:none;stroke:#000000;stroke-width:2.93525505;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <path
+         d="m 19.408614,29.776506 2.960041,-4.493278"
+         id="path35561"
+         style="fill:none;stroke:#000000;stroke-width:2.93525505;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+    </g>
+  </g>
+</svg>