From: jean-pierre roux Date: Mon, 6 Jun 2011 17:05:03 +0000 (+0000) Subject: Use new MultipleInputs X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2e9bf9f26d7898ce80be39f913938f5c671dc19a;p=bbtk.git Use new MultipleInputs --- diff --git a/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbg b/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbg index 2cb0504..213215f 100644 --- a/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbg +++ b/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbg @@ -46,13 +46,13 @@ ZMax FIN_COMPLEX_PORT COMPLEX_PORT BoxChange --94.730503:-138.264538:900.000000 +-99.566991:-137.055416:900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Wigdet 17.264457:-137.728134:900.000000 FIN_COMPLEX_PORT -BOXES:17 +BOXES:16 BOX itk:ImageProperties:mc ISEXEC:FALSE @@ -174,12 +174,6 @@ ISEXEC:FALSE -51.055541:-78.662879:900.000000 FIN_BOX BOX -std:MultipleInputs:mi2 -ISEXEC:FALSE --94.585520:-87.110450:900.000000 --49.010520:-97.110450:900.000000 -FIN_BOX -BOX wx:LayoutLine:Box13 ISEXEC:FALSE 5.096540:-86.340528:900.000000 @@ -209,7 +203,7 @@ ISEXEC:FALSE PORT In2:-1 FIN_BOX -CONNECTIONS:44 +CONNECTIONS:43 CONNECTION mc:Size:gveX:In NumberOfControlPoints:0 @@ -241,9 +235,6 @@ CONNECTION mb:Out:zMin:ReactiveOnTrack NumberOfControlPoints:0 CONNECTION -mi1:BoxChange:mi2:In1 -NumberOfControlPoints:0 -CONNECTION xMin:BoxChange:mi1:In1 NumberOfControlPoints:0 CONNECTION @@ -259,9 +250,6 @@ CONNECTION zMin:BoxChange:mi1:In5 NumberOfControlPoints:0 CONNECTION -zMax:BoxChange:mi2:In2 -NumberOfControlPoints:0 -CONNECTION In:In:mc:In NumberOfControlPoints:0 CONNECTION @@ -286,9 +274,6 @@ CONNECTION zMax:Out:ZMax:ZMax NumberOfControlPoints:0 CONNECTION -mi2:BoxChange:BoxChange:BoxChange -NumberOfControlPoints:0 -CONNECTION gveZ:Out:zMin:Max NumberOfControlPoints:0 CONNECTION @@ -342,4 +327,10 @@ NumberOfControlPoints:0 CONNECTION Box14:Out:zMax:Max NumberOfControlPoints:0 +CONNECTION +zMax:BoxChange:mi1:In6 +NumberOfControlPoints:0 +CONNECTION +mi1:BoxChange:BoxChange:BoxChange +NumberOfControlPoints:0 APP_END diff --git a/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbs b/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbs index fdd2e40..87e0843 100644 --- a/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbs +++ b/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbs @@ -64,8 +64,6 @@ new Slider zMax new MultipleInputs mi1 -new MultipleInputs mi2 - new LayoutLine Box13 new Add Box14 @@ -88,13 +86,11 @@ connect gveY.Out yMin.Max connect mb.Out yMin.ReactiveOnTrack connect mb.Out yMax.ReactiveOnTrack connect mb.Out zMin.ReactiveOnTrack -connect mi1.BoxChange mi2.In1 connect xMin.BoxChange mi1.In1 connect xMax.BoxChange mi1.In2 connect yMin.BoxChange mi1.In3 connect yMax.BoxChange mi1.In4 connect zMin.BoxChange mi1.In5 -connect zMax.BoxChange mi2.In2 connect gveZ.Out zMin.Max connect xMin.Widget Box13.Widget1 connect xMax.Widget Box13.Widget2 @@ -112,6 +108,7 @@ connect Box16.Out xMax.In connect Box16.Out xMax.Max connect Box14.Out zMax.In connect Box14.Out zMax.Max +connect zMax.BoxChange mi1.In6 # Complex input ports @@ -125,7 +122,7 @@ output YMin yMin.Out " " output YMax yMax.Out " " output ZMin zMin.Out " " output ZMax zMax.Out " " -output BoxChange mi2.BoxChange " " output Wigdet Box13.Widget " " +output BoxChange mi1.BoxChange " " endefine