]> Creatis software - bbtk.git/commitdiff
fixes
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 10 Oct 2008 16:10:49 +0000 (16:10 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 10 Oct 2008 16:10:49 +0000 (16:10 +0000)
packages/wx/bbs/appli/exampleSimpleLayoutX4.bbs
packages/wx/bbs/boxes/bbLayoutTDown.bbs
packages/wx/bbs/boxes/bbLayoutTUp.bbs
packages/wx/bbs/boxes/bbLayoutX4.bbs

index b1b516ac985281551c02386ec3e0dccc0e3e8a92..8639dbb8d49a1a6889d1b464b88d164fc791a9ab 100644 (file)
@@ -22,6 +22,6 @@ new Slider s4
 connect s1.Widget main.Widget1 
 connect s2.Widget main.Widget2 
 connect s3.Widget main.Widget3
-connect s3.Widget main.Widget4
+connect s4.Widget main.Widget4
 
 exec main
index a8e3d9313dfc69363af89357863de9a9afad127b..0e8455dce9028299a875bbe1b9f0ca313f205bef 100644 (file)
@@ -19,8 +19,8 @@ new LayoutSplit currentBox
  set currentBox.Orientation V
  new LayoutSplit up
 
- connect up.Widget currentBox.Widget1 
+ connect up.Widget currentBox.Widget1
+
  set up.Orientation H
 
 new MultipleInputs m
@@ -33,12 +33,12 @@ new MultipleInputs m
  input  WinClose  currentBox.WinClose  "Any signal received closes the window (*)"
  input  WinWidth  currentBox.WinWidth  "Width of the window (* : only used if the widget is not connected to a Layout box)"
 
- input  Widget1   up.Widget1           "UpLeft container" 
- input  Widget2   up.Widget2           "UpRight container"  
+ input  Widget1   up.Widget1           "UpLeft container"
+ input  Widget2   up.Widget2           "UpRight container"
  input  Widget3   currentBox.Widget2   "Down container"
  output Widget    currentBox.Widget    "Widget"
+
  output BoxChange m.Out                "BoxChange"
+
 endefine
 
index 2dca7b4ba5a7bbacb6534efcc81e4ae3f3beec26..78e8991d714d01965e0564cea5784286dfc95a5d 100644 (file)
@@ -17,12 +17,12 @@ new LayoutSplit currentBox
  set currentBox.Orientation V
  new LayoutSplit down
 
- connect down.Widget currentBox.Widget2 
+ connect down.Widget currentBox.Widget2
 
  set down.Orientation H
 
  input Widget1 currentBox.Widget1 "Up container"
- input Widget2 down.Widget1       "DownLeft container" 
- input Widget3 down.Widget2       "DownRight container"  
+ input Widget2 down.Widget1       "DownLeft container"
+ input Widget3 down.Widget2       "DownRight container"
 
 endefine
index 750274deb9b1ee3e8804d2f90a0da2019fb1ac45..5036ba70705138ddc8be3cb1edd3b0579bcaf27f 100644 (file)
@@ -22,23 +22,23 @@ new LayoutSplit up
   set up.Orientation H
   
 new LayoutSplit down
-  set Down.Orientation H
+  set down.Orientation H
   
- connect upLeft.Widget  currentBox.Widget1 
- connect upRight.Widget currentBox.Widget2
-
+ connect up.Widget   currentBox.Widget1 
+ connect down.Widget currentBox.Widget2
+/*
  connect upLeft.Widget  up.Widget1 
  connect upRight.Widget up.Widget2
  
  connect downLeft.Widget  down.Widget1 
  connect downRight.Widget down.Widget2 
+*/ 
+
 new MultipleInputs m
  connect currentBox.BoxChange m.In1
- connect upLeft.BoxChange     m.In2
- connect upRight.BoxChange    m.In3 
- connect downLeft.BoxChange   m.In5
- connect downRight.BoxChange  m.In5 
+ connect up.BoxChange     m.In2
+ connect down.BoxChange   m.In3
   
  input  WinTitle  currentBox.WinTitle  "Title of the window (*)"
  input  WinHeight currentBox.WinHeight "Height of the window (*)"
@@ -48,8 +48,8 @@ new MultipleInputs m
 
  input  Widget1   up.Widget1           "UpLeft container" 
  input  Widget2   up.Widget2           "UpRight container"  
- input  Widget3   currentBox.Widget2   "DownLeft container"
- input  Widget4   currentBox.Widget4   "DownRight container" 
+ input  Widget3   down.Widget1         "DownLeft container"
+ input  Widget4   down.Widget2         "DownRight container" 
  output Widget    currentBox.Widget    "Widget"
  
  output BoxChange m.Out                "BoxChange"