]> Creatis software - bbtk.git/commitdiff
Add Layouts TUp, TDown, TLeft, TRight
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 18 Feb 2008 13:00:11 +0000 (13:00 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 18 Feb 2008 13:00:11 +0000 (13:00 +0000)
packages/wx/bbs/boxes/bbLayoutTDown.bbs [new file with mode: 0644]
packages/wx/bbs/boxes/bbLayoutTLeft.bbs [new file with mode: 0644]
packages/wx/bbs/boxes/bbLayoutTRight.bbs [new file with mode: 0644]
packages/wx/bbs/boxes/bbLayoutTUp.bbs [new file with mode: 0644]

diff --git a/packages/wx/bbs/boxes/bbLayoutTDown.bbs b/packages/wx/bbs/boxes/bbLayoutTDown.bbs
new file mode 100644 (file)
index 0000000..777c538
--- /dev/null
@@ -0,0 +1,22 @@
+load std
+load wx
+
+define LayoutTDown wx
+
+description "Creates a complex box : Down {UpLeft, UpRight} "
+author "jean-pierre.roux@creatis.univ-lyon1.fr"
+category "box"
+
+new LayoutSplit currentBox
+ set currentBox.Orientation V
+ new LayoutSplit up
+
+ connect up.Widget currentBox.Widget1 
+
+ set up.Orientation H
+
+ input Widget1 up.Widget1         "UpLeft" 
+ input Widget2 up.Widget2         "UpRight"  
+ input Widget3 currentBox.Widget2 "Down"
+endefine
diff --git a/packages/wx/bbs/boxes/bbLayoutTLeft.bbs b/packages/wx/bbs/boxes/bbLayoutTLeft.bbs
new file mode 100644 (file)
index 0000000..5315b78
--- /dev/null
@@ -0,0 +1,22 @@
+load std
+load wx
+
+define LayoutTLeft wx
+
+description "Creates a complex box : Left {RigthUp, Rightright}"
+author "jean-pierre.roux@creatis.univ-lyon1.fr"
+category "box"
+
+new LayoutSplit currentBox
+ set currentBox.Orientation H
+ new LayoutSplit right
+
+ connect right.Widget currentBox.Widget2 
+
+ set right.Orientation V
+
+ input Widget1 currentBox.Widget1 "Up"
+ input Widget2 right.Widget1       "RightUp" 
+ input Widget3 right.Widget2       "RightDown"  
+
+endefine
diff --git a/packages/wx/bbs/boxes/bbLayoutTRight.bbs b/packages/wx/bbs/boxes/bbLayoutTRight.bbs
new file mode 100644 (file)
index 0000000..5470730
--- /dev/null
@@ -0,0 +1,22 @@
+load std
+load wx
+
+define LayoutTLeft wx
+
+description "Creates a complex box : Left {leftUp, leftDown}"
+author "jean-pierre.roux@creatis.univ-lyon1.fr"
+category "box"
+
+new LayoutSplit currentBox
+ set currentBox.Orientation H
+ new LayoutSplit left
+
+ connect left.Widget currentBox.Widget2 
+
+ set left.Orientation V
+
+ input Widget1 left.Widget1       "LeftUp"
+ input Widget2 currentBox.Widget2 "Right" 
+ input Widget3 left.Widget2       "LeftDown"  
+
+endefine
diff --git a/packages/wx/bbs/boxes/bbLayoutTUp.bbs b/packages/wx/bbs/boxes/bbLayoutTUp.bbs
new file mode 100644 (file)
index 0000000..0caa762
--- /dev/null
@@ -0,0 +1,22 @@
+load std
+load wx
+
+define LayoutTUp wx
+
+description "Creates a complex box : Up {DownLeft, DownRight} as w1{w2,w3}"
+author "jean-pierre.roux@creatis.univ-lyon1.fr"
+category "box"
+
+new LayoutSplit currentBox
+ set currentBox.Orientation H
+ new LayoutSplit down
+
+ connect down.Widget currentBox.Widget2 
+
+ set down.Orientation V
+
+ input Widget1 currentBox.Widget1 "Up"
+ input Widget2 down.Widget1       "DownLeft" 
+ input Widget3 down.Widget2       "DownRight"  
+
+endefine