X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwxvtk%2Fbbs%2Fboxes%2FbbDoubleSlicer.bbs;h=595744ff8cae322e29417d3663baefa888c450d4;hb=baba8ec4d60d8609b87b7506704611d78449d455;hp=5af66d5185dd606250ae71f66f4d0ae3eddf2185;hpb=9e76420366fc136449546538716d480e9a0204d2;p=bbtk.git
diff --git a/packages/wxvtk/bbs/boxes/bbDoubleSlicer.bbs b/packages/wxvtk/bbs/boxes/bbDoubleSlicer.bbs
index 5af66d5..595744f 100644
--- a/packages/wxvtk/bbs/boxes/bbDoubleSlicer.bbs
+++ b/packages/wxvtk/bbs/boxes/bbDoubleSlicer.bbs
@@ -2,17 +2,20 @@ load std
load wx
load wxvtk
-define DoubleSlicer
+define DoubleSlicer wxvtk
- description "Simple viewer displaying the same slice of two images. The slice is controlled by a slider. See DemoDoubleSlicer.bbs."
+ description "Simple viewer displaying the same slice of two images. The slice is controlled by a slider. See exampleDoubleSlicer.bbs."
author "laurent.guigues at creatis.insa-lyon.fr"
- new LayoutLine main
+ new LayoutSplit main
new LayoutLine slicers
new Viewer2D slicer1
new Viewer2D slicer2
new Slider slider
+ set main.Proportion 80
+ set slicers.Orientation HORIZONTAL
+
connect slicers.Widget main.Widget1
connect slicer1.Widget slicers.Widget1
connect slicer2.Widget slicers.Widget2
@@ -39,6 +42,7 @@ define DoubleSlicer
input In1 slicer1.In "Left (or top) image"
input In2 slicer2.In "Right (or bottom) image"
+ input WinDialog main.WinDialog "Execute in dialog mode"
input WinTitle main.WinTitle "Title of the window"
input WinWidth main.WinWidth "Width of the window"
input WinHeight main.WinHeight "Width of the window"