]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Fri, 12 Dec 2008 10:30:34 +0000 (10:30 +0000)
committerguigues <guigues>
Fri, 12 Dec 2008 10:30:34 +0000 (10:30 +0000)
kernel/appli/bbPackageBrowser/bbPackageBrowser.cxx
kernel/doc/bbtkWebSite/CMakeLists.txt
packages/itk/CMakeLists.txt
packages/kw/bbs/appli/demoKW.bbs [new file with mode: 0644]

index d7e5d44bb6aa312911186dd3b8d3a8cfb165f74f..801e8703253e1c724c4e881fd67e0028a6597a97 100644 (file)
@@ -9,7 +9,7 @@
 #include "bbtkWxGUIHtmlBrowser.h" 
 #include "bbtkWxGUIPackageBrowser2.h" 
 
-#include "../../src/icons/cc_run.xpm"
+//#include "../../src/icons/cc_run.xpm"
 #include "../../src/icons/cc_exit.xpm"
 
 using namespace bbtk;
index 9349c046d875787fa0543a7e1025e8fa942a3190..cdc7a43b44ced1620b404bb73d83b0dc46ad314f 100644 (file)
@@ -22,6 +22,13 @@ FOREACH(page ${HTML_PAGES})
 ENDFOREACH(page)
 
 
+#===================================================================
+# Regenerate package doc / boxes lists
+# Must be made manually as:
+# 1) Is useless for installers (it is to be run after install)
+# 2) Can be done manually for a build tree (e.g. in bbStudio)
+IF(FALSE)
+
 SET(INDEX_OUTPUT index-alpha.html)
 
 IF (WIN32)
@@ -60,5 +67,6 @@ ADD_CUSTOM_TARGET(
   DEPENDS ${INDEX_OUTPUT}
   )
           
+ENDIF(FALSE)
           
 MESSAGE(STATUS "=======================================")
index b2c85ee2cb8cbc0206210fa5b125e36b9a89e82f..6c35eee9a2cb322037f859aa49f82827068deee1 100644 (file)
@@ -112,6 +112,8 @@ SET(${BBTK_PACKAGE_NAME}_INCLUDE_DIRS
   # HOWEVER A USER SHOULD USE std BY LISTING IT IN THE VARIABLE 
   # ${BBTK_PACKAGE_NAME}_USE_PACKAGES (see above)
   ../std/src
+  # The path to the build tree folder is needed to find bbstd_EXPORT.h
+  ${PROJECT_BINARY_DIR}/packages/std/src
   )
 #===========================================================================
 
diff --git a/packages/kw/bbs/appli/demoKW.bbs b/packages/kw/bbs/appli/demoKW.bbs
new file mode 100644 (file)
index 0000000..41fd2fc
--- /dev/null
@@ -0,0 +1,47 @@
+description "A tour of all kw widgets"
+author "laurent.guigues at creatis.insa-lyon.fr"
+category "demo"
+
+print "=================================="
+print "A Slider whose output is plugged into an OutputText"
+
+include kw
+load std
+new kwSlider in
+new kwOutputText out
+connect in.Out out.In
+connect in.BoxChange out.BoxExecute
+new kwLayoutSplit window
+connect in.Widget window.Widget1
+connect out.Widget window.Widget2
+exec window
+reset
+
+print "=================================="
+print "The kwSlicer widget"
+
+load kw
+include vtk
+load wx
+
+new LoadHola r
+new kwSlicer s
+connect r.Out s.In
+exec s
+reset
+
+print "=================================="
+print "Using both kw and wx"
+
+load wx
+load kw
+load std
+
+new OutputText t
+exec t
+
+new kwSlider s
+connect s.Out t.In
+connect s.BoxChange t.BoxExecute
+
+exec s