Xcos blocks: add the SCALAR2VECTOR block 36/6836/3
Clément DAVID [Mon, 2 Apr 2012 10:10:20 +0000 (12:10 +0200)]
Change-Id: Id45ed00d8c72d990f09a85e5e9bdc27f581663dd

scilab/modules/xcos/etc/Xcos-style.xml
scilab/modules/xcos/etc/palettes.xml
scilab/modules/xcos/images/palettes/SCALAR2VECTOR.png [new file with mode: 0644]

index a3d3406..2c93749 100644 (file)
     <add as="displayedLabel" value="DEMUX"/>
     <add as="spacing" value="2"/>
   </add>
+  <add as="SCALAR2VECTOR" extend="blockWithLabel">
+    <add as="displayedLabel" value="SCALAR2VECTOR"/>
+  </add>
   <!-- COMMONLY USED BLOCKS -->
   <add as="OUT_f" extend="blockWithLabel">
     <add as="shape" value="hexagon"/>
index 53c9f93..0c60d1b 100644 (file)
         <data variable="SCI" path="/modules/scicos_blocks/blocks/EXTRACTOR.h5"/>
         <icon variable="SCI" path="/modules/xcos/images/palettes/EXTRACTOR.png"/>
       </block>
+      <block name="SCALAR2VECTOR">
+        <data variable="SCI" path="/modules/scicos_blocks/blocks/SCALAR2VECTOR.h5"/>
+        <icon variable="SCI" path="/modules/xcos/images/palettes/SCALAR2VECTOR.png"/>
+      </block>
       <block name="FROM">
         <data variable="SCI" path="/modules/scicos_blocks/blocks/FROM.h5"/>
         <icon variable="SCI" path="/modules/xcos/images/palettes/FROM.png"/>
diff --git a/scilab/modules/xcos/images/palettes/SCALAR2VECTOR.png b/scilab/modules/xcos/images/palettes/SCALAR2VECTOR.png
new file mode 100644 (file)
index 0000000..7a504c5
Binary files /dev/null and b/scilab/modules/xcos/images/palettes/SCALAR2VECTOR.png differ