Xcos: fix port position for specific blocks 17/2817/5
Clément DAVID [Wed, 15 Dec 2010 13:14:16 +0000 (14:14 +0100)]
Use mxICell#insert for port modification (at this time the ordering param should be set)
Keep addPort() only for operations which need an ordering update.

Bug: 5625
Bug: 5626
Bug: 9014
Change-Id: I07c38a8a6089b47d9a8c97cb0152f20770c31846

217 files changed:
scilab/modules/xcos/etc/Xcos-style.xml
scilab/modules/xcos/images/palettes/ABS_VALUE.png
scilab/modules/xcos/images/palettes/AFFICH_m.png
scilab/modules/xcos/images/palettes/ANDBLK.png
scilab/modules/xcos/images/palettes/ANDLOG_f.png
scilab/modules/xcos/images/palettes/AUTOMAT.png
scilab/modules/xcos/images/palettes/BACKLASH.png
scilab/modules/xcos/images/palettes/BIGSOM_f.png
scilab/modules/xcos/images/palettes/BITCLEAR.png
scilab/modules/xcos/images/palettes/BITSET.png
scilab/modules/xcos/images/palettes/BOUNCE.png
scilab/modules/xcos/images/palettes/BOUNCEXY.png
scilab/modules/xcos/images/palettes/BPLATFORM.png
scilab/modules/xcos/images/palettes/Bache.png
scilab/modules/xcos/images/palettes/CANIMXY.png
scilab/modules/xcos/images/palettes/CANIMXY3D.png
scilab/modules/xcos/images/palettes/CBLOCK.png
scilab/modules/xcos/images/palettes/CCS.png
scilab/modules/xcos/images/palettes/CEVENTSCOPE.png
scilab/modules/xcos/images/palettes/CFSCOPE.png
scilab/modules/xcos/images/palettes/CLINDUMMY_f.png
scilab/modules/xcos/images/palettes/CLKFROM.png
scilab/modules/xcos/images/palettes/CLKGOTO.png
scilab/modules/xcos/images/palettes/CLKGotoTagVisibility.png
scilab/modules/xcos/images/palettes/CLKINV_f.png
scilab/modules/xcos/images/palettes/CLKOUTV_f.png
scilab/modules/xcos/images/palettes/CLKSOMV_f.png
scilab/modules/xcos/images/palettes/CLOCK_c.png
scilab/modules/xcos/images/palettes/CLR.png
scilab/modules/xcos/images/palettes/CLSS.png
scilab/modules/xcos/images/palettes/CMAT3D.png
scilab/modules/xcos/images/palettes/CMATVIEW.png
scilab/modules/xcos/images/palettes/CMSCOPE.png
scilab/modules/xcos/images/palettes/CONSTRAINT_f.png
scilab/modules/xcos/images/palettes/CONST_m.png
scilab/modules/xcos/images/palettes/CONVERT.png
scilab/modules/xcos/images/palettes/COSBLK_f.png
scilab/modules/xcos/images/palettes/CSCOPE.png
scilab/modules/xcos/images/palettes/CSCOPXY.png
scilab/modules/xcos/images/palettes/CSCOPXY3D.png
scilab/modules/xcos/images/palettes/CUMSUM.png
scilab/modules/xcos/images/palettes/CURV_f.png
scilab/modules/xcos/images/palettes/CVS.png
scilab/modules/xcos/images/palettes/Capacitor.png
scilab/modules/xcos/images/palettes/ConstantVoltage.png
scilab/modules/xcos/images/palettes/Counter.png
scilab/modules/xcos/images/palettes/CurrentSensor.png
scilab/modules/xcos/images/palettes/DEADBAND.png
scilab/modules/xcos/images/palettes/DEBUG_SCICOS.png
scilab/modules/xcos/images/palettes/DELAYV_f.png
scilab/modules/xcos/images/palettes/DELAY_f.png
scilab/modules/xcos/images/palettes/DEMUX.png
scilab/modules/xcos/images/palettes/DERIV.png
scilab/modules/xcos/images/palettes/DFLIPFLOP.png
scilab/modules/xcos/images/palettes/DIFF_f.png
scilab/modules/xcos/images/palettes/DLATCH.png
scilab/modules/xcos/images/palettes/DLR.png
scilab/modules/xcos/images/palettes/DLRADAPT_f.png
scilab/modules/xcos/images/palettes/DLSS.png
scilab/modules/xcos/images/palettes/DOLLAR_f.png
scilab/modules/xcos/images/palettes/Diode.png
scilab/modules/xcos/images/palettes/EDGE_TRIGGER.png
scilab/modules/xcos/images/palettes/ENDBLK.png
scilab/modules/xcos/images/palettes/END_c.png
scilab/modules/xcos/images/palettes/ESELECT_f.png
scilab/modules/xcos/images/palettes/EVTDLY_c.png
scilab/modules/xcos/images/palettes/EVTGEN_f.png
scilab/modules/xcos/images/palettes/EVTVARDLY.png
scilab/modules/xcos/images/palettes/EXPBLK_m.png
scilab/modules/xcos/images/palettes/EXPRESSION.png
scilab/modules/xcos/images/palettes/EXTRACT.png
scilab/modules/xcos/images/palettes/EXTRACTBITS.png
scilab/modules/xcos/images/palettes/EXTRACTOR.png
scilab/modules/xcos/images/palettes/EXTTRI.png
scilab/modules/xcos/images/palettes/Extract_Activation.png
scilab/modules/xcos/images/palettes/FROM.png
scilab/modules/xcos/images/palettes/FROMMO.png
scilab/modules/xcos/images/palettes/FROMWSB.png
scilab/modules/xcos/images/palettes/GAINBLK_f.png
scilab/modules/xcos/images/palettes/GENERAL_f.png
scilab/modules/xcos/images/palettes/GENSIN_f.png
scilab/modules/xcos/images/palettes/GENSQR_f.png
scilab/modules/xcos/images/palettes/GOTO.png
scilab/modules/xcos/images/palettes/GOTOMO.png
scilab/modules/xcos/images/palettes/GotoTagVisibility.png
scilab/modules/xcos/images/palettes/GotoTagVisibilityMO.png
scilab/modules/xcos/images/palettes/Ground.png
scilab/modules/xcos/images/palettes/Gyrator.png
scilab/modules/xcos/images/palettes/HALT_f.png
scilab/modules/xcos/images/palettes/HYSTHERESIS.png
scilab/modules/xcos/images/palettes/IFTHEL_f.png
scilab/modules/xcos/images/palettes/INIMPL_f.png
scilab/modules/xcos/images/palettes/INTEGRAL_f.png
scilab/modules/xcos/images/palettes/INTEGRAL_m.png
scilab/modules/xcos/images/palettes/INTMUL.png
scilab/modules/xcos/images/palettes/INTRP2BLK_f.png
scilab/modules/xcos/images/palettes/INTRPLBLK_f.png
scilab/modules/xcos/images/palettes/INVBLK.png
scilab/modules/xcos/images/palettes/IN_f.png
scilab/modules/xcos/images/palettes/ISELECT_m.png
scilab/modules/xcos/images/palettes/IdealTransformer.png
scilab/modules/xcos/images/palettes/Inductor.png
scilab/modules/xcos/images/palettes/JKFLIPFLOP.png
scilab/modules/xcos/images/palettes/LOGBLK_f.png
scilab/modules/xcos/images/palettes/LOGIC.png
scilab/modules/xcos/images/palettes/LOGICAL_OP.png
scilab/modules/xcos/images/palettes/LOOKUP_f.png
scilab/modules/xcos/images/palettes/MATBKSL.png
scilab/modules/xcos/images/palettes/MATCATH.png
scilab/modules/xcos/images/palettes/MATCATV.png
scilab/modules/xcos/images/palettes/MATDET.png
scilab/modules/xcos/images/palettes/MATDIAG.png
scilab/modules/xcos/images/palettes/MATDIV.png
scilab/modules/xcos/images/palettes/MATEIG.png
scilab/modules/xcos/images/palettes/MATEXPM.png
scilab/modules/xcos/images/palettes/MATINV.png
scilab/modules/xcos/images/palettes/MATLU.png
scilab/modules/xcos/images/palettes/MATMAGPHI.png
scilab/modules/xcos/images/palettes/MATMUL.png
scilab/modules/xcos/images/palettes/MATPINV.png
scilab/modules/xcos/images/palettes/MATRESH.png
scilab/modules/xcos/images/palettes/MATSING.png
scilab/modules/xcos/images/palettes/MATSUM.png
scilab/modules/xcos/images/palettes/MATTRAN.png
scilab/modules/xcos/images/palettes/MATZCONJ.png
scilab/modules/xcos/images/palettes/MATZREIM.png
scilab/modules/xcos/images/palettes/MAXMIN.png
scilab/modules/xcos/images/palettes/MAX_f.png
scilab/modules/xcos/images/palettes/MBLOCK.png
scilab/modules/xcos/images/palettes/MCLOCK_f.png
scilab/modules/xcos/images/palettes/MFCLCK_f.png
scilab/modules/xcos/images/palettes/MIN_f.png
scilab/modules/xcos/images/palettes/MUX.png
scilab/modules/xcos/images/palettes/M_SWITCH.png
scilab/modules/xcos/images/palettes/M_freq.png
scilab/modules/xcos/images/palettes/Modulo_Count.png
scilab/modules/xcos/images/palettes/NEGTOPOS_f.png
scilab/modules/xcos/images/palettes/NMOS.png
scilab/modules/xcos/images/palettes/NPN.png
scilab/modules/xcos/images/palettes/NRMSOM_f.png
scilab/modules/xcos/images/palettes/OUTIMPL_f.png
scilab/modules/xcos/images/palettes/OUT_f.png
scilab/modules/xcos/images/palettes/OpAmp.png
scilab/modules/xcos/images/palettes/PDE.png
scilab/modules/xcos/images/palettes/PID.png
scilab/modules/xcos/images/palettes/PMOS.png
scilab/modules/xcos/images/palettes/PNP.png
scilab/modules/xcos/images/palettes/POSTONEG_f.png
scilab/modules/xcos/images/palettes/POWBLK_f.png
scilab/modules/xcos/images/palettes/PRODUCT.png
scilab/modules/xcos/images/palettes/PROD_f.png
scilab/modules/xcos/images/palettes/PerteDP.png
scilab/modules/xcos/images/palettes/PotentialSensor.png
scilab/modules/xcos/images/palettes/PuitsP.png
scilab/modules/xcos/images/palettes/QUANT_f.png
scilab/modules/xcos/images/palettes/RAMP.png
scilab/modules/xcos/images/palettes/RAND_m.png
scilab/modules/xcos/images/palettes/RATELIMITER.png
scilab/modules/xcos/images/palettes/READAU_f.png
scilab/modules/xcos/images/palettes/READC_f.png
scilab/modules/xcos/images/palettes/REGISTER.png
scilab/modules/xcos/images/palettes/RELATIONALOP.png
scilab/modules/xcos/images/palettes/RELAY_f.png
scilab/modules/xcos/images/palettes/RFILE_f.png
scilab/modules/xcos/images/palettes/RICC.png
scilab/modules/xcos/images/palettes/ROOTCOEF.png
scilab/modules/xcos/images/palettes/Resistor.png
scilab/modules/xcos/images/palettes/SAMPHOLD_m.png
scilab/modules/xcos/images/palettes/SATURATION.png
scilab/modules/xcos/images/palettes/SAWTOOTH_f.png
scilab/modules/xcos/images/palettes/SELECT_m.png
scilab/modules/xcos/images/palettes/SHIFT.png
scilab/modules/xcos/images/palettes/SIGNUM.png
scilab/modules/xcos/images/palettes/SINBLK_f.png
scilab/modules/xcos/images/palettes/SQRT.png
scilab/modules/xcos/images/palettes/SRFLIPFLOP.png
scilab/modules/xcos/images/palettes/STEP_FUNCTION.png
scilab/modules/xcos/images/palettes/SUBMAT.png
scilab/modules/xcos/images/palettes/SUMMATION.png
scilab/modules/xcos/images/palettes/SUM_f.png
scilab/modules/xcos/images/palettes/SUPER_f.png
scilab/modules/xcos/images/palettes/SWITCH2_m.png
scilab/modules/xcos/images/palettes/SWITCH_f.png
scilab/modules/xcos/images/palettes/SampleCLK.png
scilab/modules/xcos/images/palettes/Sigbuilder.png
scilab/modules/xcos/images/palettes/SineVoltage.png
scilab/modules/xcos/images/palettes/SourceP.png
scilab/modules/xcos/images/palettes/Switch.png
scilab/modules/xcos/images/palettes/TANBLK_f.png
scilab/modules/xcos/images/palettes/TCLSS.png
scilab/modules/xcos/images/palettes/TIME_DELAY.png
scilab/modules/xcos/images/palettes/TIME_f.png
scilab/modules/xcos/images/palettes/TKSCALE.png
scilab/modules/xcos/images/palettes/TOWS_c.png
scilab/modules/xcos/images/palettes/TRASH_f.png
scilab/modules/xcos/images/palettes/TrigFun.png
scilab/modules/xcos/images/palettes/VARIABLE_DELAY.png
scilab/modules/xcos/images/palettes/VVsourceAC.png
scilab/modules/xcos/images/palettes/VanneReglante.png
scilab/modules/xcos/images/palettes/VariableResistor.png
scilab/modules/xcos/images/palettes/VoltageSensor.png
scilab/modules/xcos/images/palettes/VsourceAC.png
scilab/modules/xcos/images/palettes/WFILE_f.png
scilab/modules/xcos/images/palettes/WRITEAU_f.png
scilab/modules/xcos/images/palettes/WRITEC_f.png
scilab/modules/xcos/images/palettes/ZCROSS_f.png
scilab/modules/xcos/images/palettes/c_block.png
scilab/modules/xcos/images/palettes/fortran_block.png
scilab/modules/xcos/images/palettes/freq_div.png
scilab/modules/xcos/images/palettes/generic_block3.png
scilab/modules/xcos/images/palettes/scifunc_block_m.png
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/BasicBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/SplitBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/positionning/GroundBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/positionning/RoundBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/positionning/VoltageSensorBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BlockModelElement.java

index 612b9ad..738eec4 100644 (file)
     <add as="verticalLabelPosition" value="bottom"/>
     <add as="verticalAlign" value="top"/>
     <add as="displayedLabel" value="MUX"/>
+    <add as="spacing" value="2"/>
   </add>
   <add as="DEMUX" extend="blockWithLabel">
     <add as="verticalLabelPosition" value="bottom"/>
     <add as="verticalAlign" value="top"/>
     <add as="displayedLabel" value="DEMUX"/>
+    <add as="spacing" value="2"/>
   </add>
   <!-- COMMONLY USED BLOCKS -->
   <add as="OUT_f" extend="blockWithLabel">
index 8abce8f..465d99b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ABS_VALUE.png and b/scilab/modules/xcos/images/palettes/ABS_VALUE.png differ
index ea770a5..46bc7b3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/AFFICH_m.png and b/scilab/modules/xcos/images/palettes/AFFICH_m.png differ
index e75f90b..123ce31 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ANDBLK.png and b/scilab/modules/xcos/images/palettes/ANDBLK.png differ
index f1f9479..c8de3be 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ANDLOG_f.png and b/scilab/modules/xcos/images/palettes/ANDLOG_f.png differ
index 27eada3..a704382 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/AUTOMAT.png and b/scilab/modules/xcos/images/palettes/AUTOMAT.png differ
index 0a7f20a..0e415e4 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BACKLASH.png and b/scilab/modules/xcos/images/palettes/BACKLASH.png differ
index 0c2fbd2..7e193c7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BIGSOM_f.png and b/scilab/modules/xcos/images/palettes/BIGSOM_f.png differ
index 8e2c19b..05c5de8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BITCLEAR.png and b/scilab/modules/xcos/images/palettes/BITCLEAR.png differ
index 28365aa..db2f810 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BITSET.png and b/scilab/modules/xcos/images/palettes/BITSET.png differ
index 9fbe17d..a59d1d6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BOUNCE.png and b/scilab/modules/xcos/images/palettes/BOUNCE.png differ
index acb0f57..e4b0789 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BOUNCEXY.png and b/scilab/modules/xcos/images/palettes/BOUNCEXY.png differ
index 0c03f86..e657cb1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BPLATFORM.png and b/scilab/modules/xcos/images/palettes/BPLATFORM.png differ
index 008a9b8..d6c5787 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Bache.png and b/scilab/modules/xcos/images/palettes/Bache.png differ
index acb0f57..e4b0789 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CANIMXY.png and b/scilab/modules/xcos/images/palettes/CANIMXY.png differ
index 89e6790..2a8dfc7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CANIMXY3D.png and b/scilab/modules/xcos/images/palettes/CANIMXY3D.png differ
index 269bd43..135a6a5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CBLOCK.png and b/scilab/modules/xcos/images/palettes/CBLOCK.png differ
index f543932..a6a84d0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CCS.png and b/scilab/modules/xcos/images/palettes/CCS.png differ
index d098851..b509174 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CEVENTSCOPE.png and b/scilab/modules/xcos/images/palettes/CEVENTSCOPE.png differ
index 02c3a10..2d0a6ea 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CFSCOPE.png and b/scilab/modules/xcos/images/palettes/CFSCOPE.png differ
index 321377c..f163c21 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLINDUMMY_f.png and b/scilab/modules/xcos/images/palettes/CLINDUMMY_f.png differ
index e6f3d84..c5c96ea 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKFROM.png and b/scilab/modules/xcos/images/palettes/CLKFROM.png differ
index e39d5de..b41f90f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKGOTO.png and b/scilab/modules/xcos/images/palettes/CLKGOTO.png differ
index 4a44393..b39bd80 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKGotoTagVisibility.png and b/scilab/modules/xcos/images/palettes/CLKGotoTagVisibility.png differ
index 5dc5fe0..06888b8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKINV_f.png and b/scilab/modules/xcos/images/palettes/CLKINV_f.png differ
index 7fc59dd..e8d5a55 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKOUTV_f.png and b/scilab/modules/xcos/images/palettes/CLKOUTV_f.png differ
index e472d77..7babffa 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKSOMV_f.png and b/scilab/modules/xcos/images/palettes/CLKSOMV_f.png differ
index 61fba16..05bea29 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLOCK_c.png and b/scilab/modules/xcos/images/palettes/CLOCK_c.png differ
index 4ba24cf..83dbc4e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLR.png and b/scilab/modules/xcos/images/palettes/CLR.png differ
index 076b01d..7a931f4 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLSS.png and b/scilab/modules/xcos/images/palettes/CLSS.png differ
index 449c16b..3040004 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CMAT3D.png and b/scilab/modules/xcos/images/palettes/CMAT3D.png differ
index 87d31ee..cb50e03 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CMATVIEW.png and b/scilab/modules/xcos/images/palettes/CMATVIEW.png differ
index 5e587dc..589a0c4 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CMSCOPE.png and b/scilab/modules/xcos/images/palettes/CMSCOPE.png differ
index 7735388..480b0e3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CONSTRAINT_f.png and b/scilab/modules/xcos/images/palettes/CONSTRAINT_f.png differ
index 05772bf..3274f27 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CONST_m.png and b/scilab/modules/xcos/images/palettes/CONST_m.png differ
index f47b03d..f4c0dfc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CONVERT.png and b/scilab/modules/xcos/images/palettes/CONVERT.png differ
index 910143c..78719f1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/COSBLK_f.png and b/scilab/modules/xcos/images/palettes/COSBLK_f.png differ
index f869259..84d9cf9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CSCOPE.png and b/scilab/modules/xcos/images/palettes/CSCOPE.png differ
index d48dddc..d238c42 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CSCOPXY.png and b/scilab/modules/xcos/images/palettes/CSCOPXY.png differ
index 0831f6c..3ecbdc9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CSCOPXY3D.png and b/scilab/modules/xcos/images/palettes/CSCOPXY3D.png differ
index 1471b91..933dcef 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CUMSUM.png and b/scilab/modules/xcos/images/palettes/CUMSUM.png differ
index b5d6e51..723ad4a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CURV_f.png and b/scilab/modules/xcos/images/palettes/CURV_f.png differ
index ec85f7d..7eb5c7c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CVS.png and b/scilab/modules/xcos/images/palettes/CVS.png differ
index 7479f38..1518dd1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Capacitor.png and b/scilab/modules/xcos/images/palettes/Capacitor.png differ
index 63b0b6e..cef483f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ConstantVoltage.png and b/scilab/modules/xcos/images/palettes/ConstantVoltage.png differ
index b41103b..c86d522 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Counter.png and b/scilab/modules/xcos/images/palettes/Counter.png differ
index 35b9e3d..39e6623 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CurrentSensor.png and b/scilab/modules/xcos/images/palettes/CurrentSensor.png differ
index 989cf4b..7929007 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DEADBAND.png and b/scilab/modules/xcos/images/palettes/DEADBAND.png differ
index 07e8e5e..58088a7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DEBUG_SCICOS.png and b/scilab/modules/xcos/images/palettes/DEBUG_SCICOS.png differ
index ce9a256..eaac3f6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DELAYV_f.png and b/scilab/modules/xcos/images/palettes/DELAYV_f.png differ
index cecdf02..4a43c8d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DELAY_f.png and b/scilab/modules/xcos/images/palettes/DELAY_f.png differ
index efa433d..de4f7b7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DEMUX.png and b/scilab/modules/xcos/images/palettes/DEMUX.png differ
index c76e52f..30683ce 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DERIV.png and b/scilab/modules/xcos/images/palettes/DERIV.png differ
index dcd53be..f9cab5e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DFLIPFLOP.png and b/scilab/modules/xcos/images/palettes/DFLIPFLOP.png differ
index 2ca257f..0396530 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DIFF_f.png and b/scilab/modules/xcos/images/palettes/DIFF_f.png differ
index c0d171e..5a666e1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLATCH.png and b/scilab/modules/xcos/images/palettes/DLATCH.png differ
index f9be468..ee85cb6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLR.png and b/scilab/modules/xcos/images/palettes/DLR.png differ
index 212640d..5a707e7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLRADAPT_f.png and b/scilab/modules/xcos/images/palettes/DLRADAPT_f.png differ
index ff72adf..3c754b3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLSS.png and b/scilab/modules/xcos/images/palettes/DLSS.png differ
index 7093218..2998f6b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DOLLAR_f.png and b/scilab/modules/xcos/images/palettes/DOLLAR_f.png differ
index 35db16f..f66b52a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Diode.png and b/scilab/modules/xcos/images/palettes/Diode.png differ
index 9a2bea7..2422cce 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EDGE_TRIGGER.png and b/scilab/modules/xcos/images/palettes/EDGE_TRIGGER.png differ
index 726e30e..c293be6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ENDBLK.png and b/scilab/modules/xcos/images/palettes/ENDBLK.png differ
index c552843..6b963ac 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/END_c.png and b/scilab/modules/xcos/images/palettes/END_c.png differ
index 62da05b..60e4fe9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ESELECT_f.png and b/scilab/modules/xcos/images/palettes/ESELECT_f.png differ
index db06345..c287ad0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EVTDLY_c.png and b/scilab/modules/xcos/images/palettes/EVTDLY_c.png differ
index 6d20d64..4fee791 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EVTGEN_f.png and b/scilab/modules/xcos/images/palettes/EVTGEN_f.png differ
index e70a7f7..a7301bb 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EVTVARDLY.png and b/scilab/modules/xcos/images/palettes/EVTVARDLY.png differ
index 4e273f8..69ef2d9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXPBLK_m.png and b/scilab/modules/xcos/images/palettes/EXPBLK_m.png differ
index b892c1c..db9e7bd 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXPRESSION.png and b/scilab/modules/xcos/images/palettes/EXPRESSION.png differ
index 0f364ac..404dbc5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTRACT.png and b/scilab/modules/xcos/images/palettes/EXTRACT.png differ
index 6be01a7..1df7aa4 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTRACTBITS.png and b/scilab/modules/xcos/images/palettes/EXTRACTBITS.png differ
index e72093f..abdd0bc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTRACTOR.png and b/scilab/modules/xcos/images/palettes/EXTRACTOR.png differ
index 4ac9ec8..2ee954b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTTRI.png and b/scilab/modules/xcos/images/palettes/EXTTRI.png differ
index dc37f3c..15a8a23 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Extract_Activation.png and b/scilab/modules/xcos/images/palettes/Extract_Activation.png differ
index ffb8587..885c574 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/FROM.png and b/scilab/modules/xcos/images/palettes/FROM.png differ
index 594e08e..26d2000 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/FROMMO.png and b/scilab/modules/xcos/images/palettes/FROMMO.png differ
index 9dd7347..a1e9166 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/FROMWSB.png and b/scilab/modules/xcos/images/palettes/FROMWSB.png differ
index be841d5..8bd87e8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GAINBLK_f.png and b/scilab/modules/xcos/images/palettes/GAINBLK_f.png differ
index c0d1601..329d41f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GENERAL_f.png and b/scilab/modules/xcos/images/palettes/GENERAL_f.png differ
index f2ae873..51961ab 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GENSIN_f.png and b/scilab/modules/xcos/images/palettes/GENSIN_f.png differ
index bc08ee9..da98a39 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GENSQR_f.png and b/scilab/modules/xcos/images/palettes/GENSQR_f.png differ
index cc31237..3f83a69 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GOTO.png and b/scilab/modules/xcos/images/palettes/GOTO.png differ
index 5a9b92c..f50ecc7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GOTOMO.png and b/scilab/modules/xcos/images/palettes/GOTOMO.png differ
index 9fed432..9206d1d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GotoTagVisibility.png and b/scilab/modules/xcos/images/palettes/GotoTagVisibility.png differ
index 9624d24..68a863e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GotoTagVisibilityMO.png and b/scilab/modules/xcos/images/palettes/GotoTagVisibilityMO.png differ
index 415eb5f..8453471 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Ground.png and b/scilab/modules/xcos/images/palettes/Ground.png differ
index 70196c7..79f6eed 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Gyrator.png and b/scilab/modules/xcos/images/palettes/Gyrator.png differ
index 455dd38..413e773 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/HALT_f.png and b/scilab/modules/xcos/images/palettes/HALT_f.png differ
index 95eebaa..a33a109 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/HYSTHERESIS.png and b/scilab/modules/xcos/images/palettes/HYSTHERESIS.png differ
index e5cd4da..1a17ea2 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/IFTHEL_f.png and b/scilab/modules/xcos/images/palettes/IFTHEL_f.png differ
index bb067ca..a32df00 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INIMPL_f.png and b/scilab/modules/xcos/images/palettes/INIMPL_f.png differ
index 2598714..c1bd006 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTEGRAL_f.png and b/scilab/modules/xcos/images/palettes/INTEGRAL_f.png differ
index 7d5ba8a..d787862 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTEGRAL_m.png and b/scilab/modules/xcos/images/palettes/INTEGRAL_m.png differ
index 4fb346e..7ce481d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTMUL.png and b/scilab/modules/xcos/images/palettes/INTMUL.png differ
index a54a059..fe75b27 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTRP2BLK_f.png and b/scilab/modules/xcos/images/palettes/INTRP2BLK_f.png differ
index a12a8d8..9227adc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTRPLBLK_f.png and b/scilab/modules/xcos/images/palettes/INTRPLBLK_f.png differ
index 9fcd0a0..50e6978 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INVBLK.png and b/scilab/modules/xcos/images/palettes/INVBLK.png differ
index d7f1f62..97baea3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/IN_f.png and b/scilab/modules/xcos/images/palettes/IN_f.png differ
index e4763a6..12040b8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ISELECT_m.png and b/scilab/modules/xcos/images/palettes/ISELECT_m.png differ
index 38eba4b..6004508 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/IdealTransformer.png and b/scilab/modules/xcos/images/palettes/IdealTransformer.png differ
index e57d899..f6d3e81 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Inductor.png and b/scilab/modules/xcos/images/palettes/Inductor.png differ
index 56b707d..435d9da 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/JKFLIPFLOP.png and b/scilab/modules/xcos/images/palettes/JKFLIPFLOP.png differ
index 1a84cf3..940d0d9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOGBLK_f.png and b/scilab/modules/xcos/images/palettes/LOGBLK_f.png differ
index 173b5b6..c5fb72a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOGIC.png and b/scilab/modules/xcos/images/palettes/LOGIC.png differ
index 8ce441a..39d34ad 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOGICAL_OP.png and b/scilab/modules/xcos/images/palettes/LOGICAL_OP.png differ
index 5da7c5b..f4c9335 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOOKUP_f.png and b/scilab/modules/xcos/images/palettes/LOOKUP_f.png differ
index 1c1f656..589b6e3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATBKSL.png and b/scilab/modules/xcos/images/palettes/MATBKSL.png differ
index 4e5ca98..af7bb95 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATCATH.png and b/scilab/modules/xcos/images/palettes/MATCATH.png differ
index 6234467..77e1cd7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATCATV.png and b/scilab/modules/xcos/images/palettes/MATCATV.png differ
index ba31d5d..b40b520 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATDET.png and b/scilab/modules/xcos/images/palettes/MATDET.png differ
index 3d7e0ba..c3f30dc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATDIAG.png and b/scilab/modules/xcos/images/palettes/MATDIAG.png differ
index 1c184c0..9b80527 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATDIV.png and b/scilab/modules/xcos/images/palettes/MATDIV.png differ
index 33e65dc..a2e3fd6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATEIG.png and b/scilab/modules/xcos/images/palettes/MATEIG.png differ
index 1bbab89..316d09e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATEXPM.png and b/scilab/modules/xcos/images/palettes/MATEXPM.png differ
index ad4c9d7..210fdaa 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATINV.png and b/scilab/modules/xcos/images/palettes/MATINV.png differ
index eb605ce..077346f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATLU.png and b/scilab/modules/xcos/images/palettes/MATLU.png differ
index 01ebe6e..d3619e7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATMAGPHI.png and b/scilab/modules/xcos/images/palettes/MATMAGPHI.png differ
index a229184..1312851 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATMUL.png and b/scilab/modules/xcos/images/palettes/MATMUL.png differ
index 96cea34..f4a1c6f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATPINV.png and b/scilab/modules/xcos/images/palettes/MATPINV.png differ
index f8c1575..81d36a3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATRESH.png and b/scilab/modules/xcos/images/palettes/MATRESH.png differ
index b1e4549..7b6735b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATSING.png and b/scilab/modules/xcos/images/palettes/MATSING.png differ
index 533bee0..b3addad 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATSUM.png and b/scilab/modules/xcos/images/palettes/MATSUM.png differ
index 68a57b9..e4aee4d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATTRAN.png and b/scilab/modules/xcos/images/palettes/MATTRAN.png differ
index 9ff8750..603e781 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATZCONJ.png and b/scilab/modules/xcos/images/palettes/MATZCONJ.png differ
index fe657aa..ea4554b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATZREIM.png and b/scilab/modules/xcos/images/palettes/MATZREIM.png differ
index 2ca7f76..75cb05c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MAXMIN.png and b/scilab/modules/xcos/images/palettes/MAXMIN.png differ
index 90bafa2..215341c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MAX_f.png and b/scilab/modules/xcos/images/palettes/MAX_f.png differ
index 6081e4a..7f890e6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MBLOCK.png and b/scilab/modules/xcos/images/palettes/MBLOCK.png differ
index 49cb771..a0efcca 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MCLOCK_f.png and b/scilab/modules/xcos/images/palettes/MCLOCK_f.png differ
index 5c73341..19b4f74 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MFCLCK_f.png and b/scilab/modules/xcos/images/palettes/MFCLCK_f.png differ
index 54e8b4e..e48e3c6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MIN_f.png and b/scilab/modules/xcos/images/palettes/MIN_f.png differ
index 102cd81..7f9bcf3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MUX.png and b/scilab/modules/xcos/images/palettes/MUX.png differ
index e5b9e6e..394c234 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/M_SWITCH.png and b/scilab/modules/xcos/images/palettes/M_SWITCH.png differ
index a82237f..3b3af0e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/M_freq.png and b/scilab/modules/xcos/images/palettes/M_freq.png differ
index 1b4b84f..be07d1f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Modulo_Count.png and b/scilab/modules/xcos/images/palettes/Modulo_Count.png differ
index 09e2c91..7def0c7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NEGTOPOS_f.png and b/scilab/modules/xcos/images/palettes/NEGTOPOS_f.png differ
index 9183272..ae842b3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NMOS.png and b/scilab/modules/xcos/images/palettes/NMOS.png differ
index 0761f09..10d06fe 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NPN.png and b/scilab/modules/xcos/images/palettes/NPN.png differ
index 456f573..e9acb35 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NRMSOM_f.png and b/scilab/modules/xcos/images/palettes/NRMSOM_f.png differ
index f6c8505..f8d4dc3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/OUTIMPL_f.png and b/scilab/modules/xcos/images/palettes/OUTIMPL_f.png differ
index 575a137..8a4af8b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/OUT_f.png and b/scilab/modules/xcos/images/palettes/OUT_f.png differ
index 3f6b579..a3bd1b4 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/OpAmp.png and b/scilab/modules/xcos/images/palettes/OpAmp.png differ
index f5a3f13..3099101 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PDE.png and b/scilab/modules/xcos/images/palettes/PDE.png differ
index d7c8ab5..59adf7e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PID.png and b/scilab/modules/xcos/images/palettes/PID.png differ
index 80edeeb..92fe2ae 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PMOS.png and b/scilab/modules/xcos/images/palettes/PMOS.png differ
index f252fd1..c36e72a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PNP.png and b/scilab/modules/xcos/images/palettes/PNP.png differ
index 920a6ae..928c7d7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/POSTONEG_f.png and b/scilab/modules/xcos/images/palettes/POSTONEG_f.png differ
index 1fa99f1..ad885ed 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/POWBLK_f.png and b/scilab/modules/xcos/images/palettes/POWBLK_f.png differ
index 57184e1..8961c77 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PRODUCT.png and b/scilab/modules/xcos/images/palettes/PRODUCT.png differ
index 332f43e..84d5fdf 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PROD_f.png and b/scilab/modules/xcos/images/palettes/PROD_f.png differ
index 56f1468..38a8399 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PerteDP.png and b/scilab/modules/xcos/images/palettes/PerteDP.png differ
index cff9043..ef5bc1f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PotentialSensor.png and b/scilab/modules/xcos/images/palettes/PotentialSensor.png differ
index 153bccd..90412fc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PuitsP.png and b/scilab/modules/xcos/images/palettes/PuitsP.png differ
index e5300f3..6251881 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/QUANT_f.png and b/scilab/modules/xcos/images/palettes/QUANT_f.png differ
index a2c4529..496a357 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RAMP.png and b/scilab/modules/xcos/images/palettes/RAMP.png differ
index d040ae0..d4b937b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RAND_m.png and b/scilab/modules/xcos/images/palettes/RAND_m.png differ
index b53ae01..f1acbd5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RATELIMITER.png and b/scilab/modules/xcos/images/palettes/RATELIMITER.png differ
index 2b34eed..e3821be 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/READAU_f.png and b/scilab/modules/xcos/images/palettes/READAU_f.png differ
index 95cf346..31bc9e1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/READC_f.png and b/scilab/modules/xcos/images/palettes/READC_f.png differ
index dc76d5c..fed7dba 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/REGISTER.png and b/scilab/modules/xcos/images/palettes/REGISTER.png differ
index 6ad38f5..affb99e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RELATIONALOP.png and b/scilab/modules/xcos/images/palettes/RELATIONALOP.png differ
index 72ec0e2..69026ac 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RELAY_f.png and b/scilab/modules/xcos/images/palettes/RELAY_f.png differ
index 6bb1f84..d948011 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RFILE_f.png and b/scilab/modules/xcos/images/palettes/RFILE_f.png differ
index b68eada..07a44f2 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RICC.png and b/scilab/modules/xcos/images/palettes/RICC.png differ
index d4d15af..4d8ae1b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ROOTCOEF.png and b/scilab/modules/xcos/images/palettes/ROOTCOEF.png differ
index 65a7f66..c79a4c1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Resistor.png and b/scilab/modules/xcos/images/palettes/Resistor.png differ
index 03d34a6..89ffc9e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SAMPHOLD_m.png and b/scilab/modules/xcos/images/palettes/SAMPHOLD_m.png differ
index c747551..bd8da14 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SATURATION.png and b/scilab/modules/xcos/images/palettes/SATURATION.png differ
index 5150dbf..30029e9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SAWTOOTH_f.png and b/scilab/modules/xcos/images/palettes/SAWTOOTH_f.png differ
index 15b28a2..d39f9ce 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SELECT_m.png and b/scilab/modules/xcos/images/palettes/SELECT_m.png differ
index 48806ca..f5b2e79 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SHIFT.png and b/scilab/modules/xcos/images/palettes/SHIFT.png differ
index 2a2a832..c9a2ce7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SIGNUM.png and b/scilab/modules/xcos/images/palettes/SIGNUM.png differ
index 89df2ed..1a5c43e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SINBLK_f.png and b/scilab/modules/xcos/images/palettes/SINBLK_f.png differ
index 3b18b21..1c9872c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SQRT.png and b/scilab/modules/xcos/images/palettes/SQRT.png differ
index 9057341..c5dedec 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SRFLIPFLOP.png and b/scilab/modules/xcos/images/palettes/SRFLIPFLOP.png differ
index 700f17f..39a1beb 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/STEP_FUNCTION.png and b/scilab/modules/xcos/images/palettes/STEP_FUNCTION.png differ
index 5be70d7..b66b41a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUBMAT.png and b/scilab/modules/xcos/images/palettes/SUBMAT.png differ
index 40f532b..0163d95 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUMMATION.png and b/scilab/modules/xcos/images/palettes/SUMMATION.png differ
index 5020f02..7f795bb 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUM_f.png and b/scilab/modules/xcos/images/palettes/SUM_f.png differ
index 69b9ba4..4f9fdef 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUPER_f.png and b/scilab/modules/xcos/images/palettes/SUPER_f.png differ
index 0a91703..3006a90 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SWITCH2_m.png and b/scilab/modules/xcos/images/palettes/SWITCH2_m.png differ
index 9d3fb11..83b3502 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SWITCH_f.png and b/scilab/modules/xcos/images/palettes/SWITCH_f.png differ
index 02a0162..7308808 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SampleCLK.png and b/scilab/modules/xcos/images/palettes/SampleCLK.png differ
index 6af0e7e..cd6267f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Sigbuilder.png and b/scilab/modules/xcos/images/palettes/Sigbuilder.png differ
index eef1131..d723cf7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SineVoltage.png and b/scilab/modules/xcos/images/palettes/SineVoltage.png differ
index f9dc682..554f1da 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SourceP.png and b/scilab/modules/xcos/images/palettes/SourceP.png differ
index 4460816..043a7aa 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Switch.png and b/scilab/modules/xcos/images/palettes/Switch.png differ
index d8c6d07..9fdccb6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TANBLK_f.png and b/scilab/modules/xcos/images/palettes/TANBLK_f.png differ
index 6ec6c9b..88bbc32 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TCLSS.png and b/scilab/modules/xcos/images/palettes/TCLSS.png differ
index 94cf20a..0cbcd8a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TIME_DELAY.png and b/scilab/modules/xcos/images/palettes/TIME_DELAY.png differ
index d186813..ce4715e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TIME_f.png and b/scilab/modules/xcos/images/palettes/TIME_f.png differ
index dc7b48e..29aa6fa 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TKSCALE.png and b/scilab/modules/xcos/images/palettes/TKSCALE.png differ
index 2ec7cdb..011590a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TOWS_c.png and b/scilab/modules/xcos/images/palettes/TOWS_c.png differ
index 611f68e..16866a0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TRASH_f.png and b/scilab/modules/xcos/images/palettes/TRASH_f.png differ
index 4027252..a6c4bfe 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TrigFun.png and b/scilab/modules/xcos/images/palettes/TrigFun.png differ
index ab3fab9..4e7f547 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VARIABLE_DELAY.png and b/scilab/modules/xcos/images/palettes/VARIABLE_DELAY.png differ
index fba4d2d..38bc7f5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VVsourceAC.png and b/scilab/modules/xcos/images/palettes/VVsourceAC.png differ
index 6cea8fc..c7a67fe 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VanneReglante.png and b/scilab/modules/xcos/images/palettes/VanneReglante.png differ
index 1f910ad..35ee489 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VariableResistor.png and b/scilab/modules/xcos/images/palettes/VariableResistor.png differ
index f3c5d33..11a7f75 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VoltageSensor.png and b/scilab/modules/xcos/images/palettes/VoltageSensor.png differ
index fa1a71a..59792db 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VsourceAC.png and b/scilab/modules/xcos/images/palettes/VsourceAC.png differ
index e3464cf..203e1fc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/WFILE_f.png and b/scilab/modules/xcos/images/palettes/WFILE_f.png differ
index 1348a2c..a9811e9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/WRITEAU_f.png and b/scilab/modules/xcos/images/palettes/WRITEAU_f.png differ
index 6c5d8b9..2a459eb 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/WRITEC_f.png and b/scilab/modules/xcos/images/palettes/WRITEC_f.png differ
index bd40d06..2a953f4 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ZCROSS_f.png and b/scilab/modules/xcos/images/palettes/ZCROSS_f.png differ
index dee6c9f..bd176e9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/c_block.png and b/scilab/modules/xcos/images/palettes/c_block.png differ
index 4e0d840..4e6c21c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/fortran_block.png and b/scilab/modules/xcos/images/palettes/fortran_block.png differ
index 453be6e..0eefb46 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/freq_div.png and b/scilab/modules/xcos/images/palettes/freq_div.png differ
index 0e71731..164cc1d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/generic_block3.png and b/scilab/modules/xcos/images/palettes/generic_block3.png differ
index cda78d6..69b8d68 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/scifunc_block_m.png and b/scilab/modules/xcos/images/palettes/scifunc_block_m.png differ
index 5b2c342..320d97f 100644 (file)
@@ -872,12 +872,15 @@ public class BasicBlock extends ScilabGraphUniqueObject implements Serializable
     
     /**
      * Add a port on the block.
+     * 
+     * This call should only be used when a port reordering operation must be performed.
+     * 
      * @param port The port to be added to the block
      */
     public void addPort(BasicPort port) {
        insert(port);
-       BlockPositioning.updateBlockView(this);
        port.setOrdering(BasicBlockInfo.getAllTypedPorts(this, false, port.getClass()).size());
+       BlockPositioning.updateBlockView(this);
     }
 
        /**
index 0a6efaf..e595813 100644 (file)
@@ -93,17 +93,16 @@ public final class SplitBlock extends BasicBlock {
 
        /**
         * Add a port on the block.
-        *
-        * @param port
-        *            The port to be added to the block
-        * @see org.scilab.modules.xcos.block.BasicBlock#addPort(org.scilab.modules.xcos.port.BasicPort)
+        * 
+        * @param child the port to add
+        * @param index index where to put the child
         */
        @Override
-       public void addPort(BasicPort port) {
-               super.addPort(port);
-               port.setVisible(false);
+       public mxICell insert(mxICell child, int index) {
+               child.setVisible(false);
+               return super.insert(child, index);
        }
-
+       
        /**
         * @return input port
         */
index 9403ca6..00ccd88 100644 (file)
@@ -16,6 +16,8 @@ import org.scilab.modules.xcos.block.BasicBlock;
 import org.scilab.modules.xcos.port.BasicPort;
 import org.scilab.modules.xcos.port.Orientation;
 
+import com.mxgraph.model.mxICell;
+
 /**
  * The Ground block has only one specificity : it's port position.
  */
@@ -28,11 +30,14 @@ public class GroundBlock extends BasicBlock {
        
        /**
         * Set the orientation before calling parent method.
-        * @param port the port to add.
+        * @param child the port to add.
+        * @param index the index of the add
         */
        @Override
-       public void addPort(BasicPort port) {
-               port.setOrientation(Orientation.NORTH);
-               super.addPort(port);
+       public mxICell insert(mxICell child, int index) {
+               if (child instanceof BasicPort) {
+                       ((BasicPort) child).setOrientation(Orientation.NORTH);
+               }
+               return super.insert(child, index);
        }
 }
index 8286f93..a6f1b66 100644 (file)
@@ -18,8 +18,11 @@ import org.scilab.modules.xcos.block.listener.SumPortLabelingListener;
 import org.scilab.modules.xcos.port.BasicPort;
 import org.scilab.modules.xcos.port.Orientation;
 import org.scilab.modules.xcos.port.command.CommandPort;
+import org.scilab.modules.xcos.port.input.InputPort;
 import org.scilab.modules.xcos.port.output.OutputPort;
 
+import com.mxgraph.model.mxICell;
+
 /**
  * Implement a round block with inputs spread around the block.
  */
@@ -60,33 +63,52 @@ public class RoundBlock extends BasicBlock {
                        getParametersPCS().addPropertyChangeListener("realParameters", ProdPortLabelingListener.getInstance());
                }
        }
-
+       
        /**
-        * Calculate current port position on the block and add it.
-        * @param port the port to add
-        * @see org.scilab.modules.xcos.block.BasicBlock#addPort(org.scilab.modules.xcos.port.BasicPort)
+        * Insert a port into this block.
+        * 
+        * @param child the port to add
+        * @param index the index 
         */
        @Override
-       public void addPort(BasicPort port) {
+       public mxICell insert(mxICell child, int index) {
                /*
-                * Any output port keep its orientation.
+                * Any input are placed around the block.
                 */
-               if (port instanceof OutputPort || port instanceof CommandPort) {
-                       super.addPort(port);
-                       return;
+               if (child instanceof InputPort) {
+                       final InputPort port = (InputPort) child;
+                       port.setOrientation(getPortOrientation(port.getOrdering()));
+                       
                }
                
-               /*
-                * The other ones are placed around the block.
-                */
-               final int def = port.getOrientation().ordinal() - 1;
-               final int side = getChildCount();
-               
-               final int rotatedSide = (side + def + SIDE_NUMBER) % SIDE_NUMBER;
-               
-               final Orientation current = Orientation.values()[rotatedSide];
-               port.setOrientation(current);
-               
-               super.addPort(port);
+               return super.insert(child, index);
+       }
+       
+       /**
+        * Get the Orientation from the order
+        * @param order the port ordering
+        * @return the selected orientation
+        */
+       private Orientation getPortOrientation(int order) {
+               final Orientation ret;
+
+               switch (order) {
+               case 1:
+                       ret = Orientation.SOUTH;
+                       break;
+
+               case 2:
+                       ret = Orientation.WEST;
+                       break;
+
+               case 3:
+                       ret = Orientation.NORTH;
+                       break;
+
+               default:
+                       ret = Orientation.WEST;
+                       break;
+               }
+               return ret;
        }
 }
index e3014e2..13ec4dc 100644 (file)
@@ -19,6 +19,8 @@ import org.scilab.modules.xcos.port.Orientation;
 import org.scilab.modules.xcos.port.output.OutputPort;
 import org.scilab.modules.xcos.utils.BlockPositioning;
 
+import com.mxgraph.model.mxICell;
+
 /**
  * The VoltageSensor block has only one specificity : it's port position.
  */
@@ -31,25 +33,20 @@ public class VoltageSensorBlock extends BasicBlock {
        
        /**
         * Set the orientation before calling parent method.
-        * @param port the port to add.
+        * @param child the port to add.
+        * @param index the port index
         */
        @Override
-       public void addPort(BasicPort port) {
-               if (port instanceof OutputPort) {
-                       insert(port);
-                       int order = BasicBlockInfo.getAllTypedPorts(this, false, OutputPort.class).size();
-                       port.setOrdering(order);
+       public mxICell insert(mxICell child, int index) {
+               if (child instanceof OutputPort) {
+                       final OutputPort port = (OutputPort) child;
                        
                        // Only orientate the first output port
-                       if (order == 1) {
+                       if (port.getOrdering() == 1) {
                                port.setOrientation(Orientation.SOUTH);
-                       } else {
-                               port.setOrientation(Orientation.EAST);
                        }
-                       
-                       BlockPositioning.updateBlockView(this);
-               } else {
-                       super.addPort(port);
                }
+               
+               return super.insert(child, index);
        }
 }
index 5c96063..1b19e80 100644 (file)
@@ -28,6 +28,7 @@ import org.scilab.modules.xcos.block.BasicBlock.SimulationFunctionType;
 import org.scilab.modules.xcos.io.scicos.ScicosFormatException.WrongElementException;
 import org.scilab.modules.xcos.io.scicos.ScicosFormatException.WrongStructureException;
 import org.scilab.modules.xcos.io.scicos.ScicosFormatException.WrongTypeException;
+import org.scilab.modules.xcos.port.BasicPort;
 import org.scilab.modules.xcos.port.command.CommandPort;
 import org.scilab.modules.xcos.port.control.ControlPort;
 
@@ -141,14 +142,22 @@ class BlockModelElement extends BlockPartsElement {
                if (dataNbControlPort.getRealPart() != null) {
                        int nbControlPort = dataNbControlPort.getHeight();
                        for (int i = 0; i < nbControlPort; i++) {
-                               into.addPort(new ControlPort());
+                               final BasicPort port = new ControlPort();
+                               
+                               // do not use BasicPort#addPort() to avoid the view update
+                               port.setOrdering(i + 1);
+                               into.insert(port, i);
                        }
                }
 
                if (dataNbCommandPort.getRealPart() != null) {
                        int nbCommandPort = dataNbCommandPort.getHeight();
                        for (int i = 0; i < nbCommandPort; i++) {
-                               into.addPort(new CommandPort());
+                               final BasicPort port = new CommandPort();
+                               
+                               // do not use BasicPort#addPort() to avoid the view update
+                               port.setOrdering(i + 1);
+                               into.insert(port, i);
                        }
                }
        }