From: jean-pierre roux Date: Mon, 18 Feb 2008 18:19:06 +0000 (+0000) Subject: examples X-Git-Tag: r0.6.1~174 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=66a4f54ebee938164be7a0ff849832dd4ae1cd48;p=bbtk.git examples --- diff --git a/packages/wx/bbs/appli/exempleComplexLinesInRows.bbs b/packages/wx/bbs/appli/exempleComplexLinesInRows.bbs index 1d426fc..82d85c5 100644 --- a/packages/wx/bbs/appli/exempleComplexLinesInRows.bbs +++ b/packages/wx/bbs/appli/exempleComplexLinesInRows.bbs @@ -1,6 +1,6 @@ description "More complicated example of wx::Split widgets" author "jean-pierre.roux@creatis.univ-lyon1.fr" -category "test" +category "example" load std load wx diff --git a/packages/wx/bbs/appli/exempleComplexSplitInSplit.bbs b/packages/wx/bbs/appli/exempleComplexSplitInSplit.bbs index 62b4f0e..4425d2a 100644 --- a/packages/wx/bbs/appli/exempleComplexSplitInSplit.bbs +++ b/packages/wx/bbs/appli/exempleComplexSplitInSplit.bbs @@ -1,6 +1,6 @@ description "More complicated example of wx::Split widgets" author "jean-pierre.roux@creatis.univ-lyon1.fr" -category "test" +category "example" load std load wx @@ -30,6 +30,12 @@ load wx // | | | downDown // | | | // ---------------------- +// +// Better use a mix of LayoutTxxx (xxx = Up, Down, Right, Left)! +// +// +// TODO : add same structure using only LayoutTxxx + new LayoutSplit main set main.Orientation V diff --git a/packages/wx/bbs/appli/exempleLayoutTDown.bbs b/packages/wx/bbs/appli/exempleLayoutTDown.bbs index 37994e9..afbac15 100644 --- a/packages/wx/bbs/appli/exempleLayoutTDown.bbs +++ b/packages/wx/bbs/appli/exempleLayoutTDown.bbs @@ -1,6 +1,6 @@ description "Simple test of wx::LayoutTDown widgets" author "jean-pierre.roux@creatis.univ-lyon1.fr" -category "test" +category "example" load std include wx diff --git a/packages/wx/bbs/appli/exempleLayoutTLeft.bbs b/packages/wx/bbs/appli/exempleLayoutTLeft.bbs index 8ea70e7..9f216f0 100644 --- a/packages/wx/bbs/appli/exempleLayoutTLeft.bbs +++ b/packages/wx/bbs/appli/exempleLayoutTLeft.bbs @@ -1,6 +1,6 @@ description "Simple test of wx::LayoutTLeft widgets" author "jean-pierre.roux@creatis.univ-lyon1.fr" -category "test" +category "example" load std include wx diff --git a/packages/wx/bbs/appli/exempleLayoutTUp.bbs b/packages/wx/bbs/appli/exempleLayoutTUp.bbs index 1854b94..26e5e83 100644 --- a/packages/wx/bbs/appli/exempleLayoutTUp.bbs +++ b/packages/wx/bbs/appli/exempleLayoutTUp.bbs @@ -1,6 +1,6 @@ description "Simple test of wx::LayoutTUp widgets" author "jean-pierre.roux@creatis.univ-lyon1.fr" -category "test" +category "example" load std include wx diff --git a/packages/wx/bbs/appli/testSizer.bbs b/packages/wx/bbs/appli/exempleSizer.bbs similarity index 73% rename from packages/wx/bbs/appli/testSizer.bbs rename to packages/wx/bbs/appli/exempleSizer.bbs index 5b4d1ba..6ad62e8 100644 --- a/packages/wx/bbs/appli/testSizer.bbs +++ b/packages/wx/bbs/appli/exempleSizer.bbs @@ -1,6 +1,6 @@ -description "Simple test of wx::Sizer widget" +description "Simple test of wx::LayoutLine widget" author "eduardo.davila@creatis.insa-lyon.fr" -category "test;widget" +category "example" load wx diff --git a/packages/wx/bbs/appli/testSplit.bbs b/packages/wx/bbs/appli/exempleSplit.bbs similarity index 91% rename from packages/wx/bbs/appli/testSplit.bbs rename to packages/wx/bbs/appli/exempleSplit.bbs index 5b371fd..6542c97 100644 --- a/packages/wx/bbs/appli/testSplit.bbs +++ b/packages/wx/bbs/appli/exempleSplit.bbs @@ -1,6 +1,6 @@ description "Simple test of wx::Split widget" author "laurent.guigues@creatis.insa-lyon.fr" -category "test;widget" +category "example" load wx diff --git a/packages/wx/bbs/appli/testSlider.bbs b/packages/wx/bbs/appli/testSlider.bbs index 85526b7..6346681 100644 --- a/packages/wx/bbs/appli/testSlider.bbs +++ b/packages/wx/bbs/appli/testSlider.bbs @@ -1,7 +1,10 @@ description "Simple test of wx::Slider widget" author "laurent.guigues@creatis.insa-lyon.fr" -category "test;widget" +category "example" +// +// TODO : Add a *true* example, showing haow to use the param +// load wx new Slider slider exec slider