]> Creatis software - bbtk.git/blobdiff - packages/kw/bbs/appli/kwTour.bbs
*** empty log message ***
[bbtk.git] / packages / kw / bbs / appli / kwTour.bbs
index 12ed0781c26936cb5ab95e0ccffd8949a948c9ee..0c5c075d5eb0d9239750873d0eac2c0b0f4c6bb5 100644 (file)
@@ -2,12 +2,15 @@ description "A tour of all kw widgets"
 author "laurent.guigues at creatis.insa-lyon.fr"
 category "demo"
 
+include kw
+load std
+include vtk
+load wx
+
 print "=================================="
 print "A Slider whose output is plugged into an OutputText"
 message echo 2
 
-include kw
-load std
 new kwSlider in
 new kwOutputText out
 connect in.Out out.In
@@ -23,15 +26,10 @@ print "=================================="
 print "The kwSlicer widget"
 message echo 2
 
-load kw
-include vtk
-load wx
-
 new LoadHola r
 new kwSlicer s
 connect r.Out s.In
 exec s
-reset
 
 message echo 0
 clear
@@ -39,10 +37,6 @@ print "=================================="
 print "Using both kw and wx"
 message echo 2
 
-load wx
-load kw
-load std
-
 new OutputText t
 exec t
 
@@ -51,3 +45,6 @@ connect s.Out t.In
 connect s.BoxChange t.BoxExecute
 
 exec s
+
+message echo 0
+clear