From 7fc813b598af6bd8b48fc4479243a7f085ff034c Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Sun, 8 May 2011 05:52:57 +0000 Subject: [PATCH] no message --- .../bbs/appli/minitoolsMenu.bbg | 24 ++++++------ .../bbs/appli/minitoolsMenu.bbs | 8 ++-- .../{viewerMenu.bbg => imageToolsMenu.bbg} | 38 +++++++++++++++---- .../{viewerMenu.bbs => imageToolsMenu.bbs} | 14 +++++-- 4 files changed, 57 insertions(+), 27 deletions(-) rename bbtk_package_creaMiniTools/bbs/boxes/{viewerMenu.bbg => imageToolsMenu.bbg} (74%) mode change 100755 => 100644 rename bbtk_package_creaMiniTools/bbs/boxes/{viewerMenu.bbs => imageToolsMenu.bbs} (73%) mode change 100755 => 100644 diff --git a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg index 2c88c37..c1d633d 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/appli/creaMiniToolsMenu.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbg # ---------------------------------- APP_START @@ -22,12 +22,6 @@ ISEXEC:TRUE 14.371465:61.442362:900.000000 FIN_BOX BOX -creaMiniTools:ImageViewerMenu:Box02 -ISEXEC:FALSE --77.314974:160.389284:900.000000 --31.739974:150.389284:900.000000 -FIN_BOX -BOX creaMiniTools:RecalageMenu:Box03 ISEXEC:FALSE 10.750429:159.991675:900.000000 @@ -42,14 +36,17 @@ FIN_BOX BOX creaMiniTools:maxiToolsMenu:Box05 ISEXEC:FALSE --93.706946:109.040810:900.000000 --48.131946:99.040810:900.000000 +-111.880414:109.608731:900.000000 +-66.305414:99.608731:900.000000 +FIN_BOX +BOX +creaMiniTools:ImageToolsMenu:Box06 +ISEXEC:FALSE +-45.844711:192.279476:900.000000 +-0.269711:182.279476:900.000000 FIN_BOX CONNECTIONS:5 CONNECTION -Box02:widget:Box01:Widget2 -NumberOfControlPoints:0 -CONNECTION Box03:widget:Box01:Widget3 NumberOfControlPoints:0 CONNECTION @@ -61,4 +58,7 @@ NumberOfControlPoints:0 CONNECTION Box05:widget:Box01:Widget1 NumberOfControlPoints:0 +CONNECTION +Box06:widget:Box01:Widget2 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs index bcfaeb6..4cfd4b0 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/appli/creaMiniToolsMenu.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/minitoolsMenu.bbs # ---------------------------------- # BBTK GEditor Script @@ -19,19 +19,19 @@ new CommandMenu Box00 new LayoutTab Box01 -new ImageViewerMenu Box02 - new RecalageMenu Box03 new RescaleSlopeInterceptMenu Box04 new maxiToolsMenu Box05 +new ImageToolsMenu Box06 + -connect Box02.widget Box01.Widget2 connect Box03.widget Box01.Widget3 connect Box00.CommandMenu Box01.Widget5 connect Box04.widget Box01.Widget4 connect Box05.widget Box01.Widget1 +connect Box06.widget Box01.Widget2 exec Box01 diff --git a/bbtk_package_creaMiniTools/bbs/boxes/viewerMenu.bbg b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg old mode 100755 new mode 100644 similarity index 74% rename from bbtk_package_creaMiniTools/bbs/boxes/viewerMenu.bbg rename to bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg index 2e8854b..bfd89c8 --- a/bbtk_package_creaMiniTools/bbs/boxes/viewerMenu.bbg +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/viewerMenu.bbg +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbg # ---------------------------------- APP_START @@ -8,15 +8,15 @@ CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:TRUE -COMPLEXBOXNAME:ImageViewerMenu +COMPLEXBOXNAME:ImageToolsMenu PACKAGENAME:creaMiniTools COMPLEXINPUTS:0 COMPLEXOUTPUTS:1 COMPLEX_PORT widget -63.736612:20.667801:900.000000 +62.043395:-21.239312:900.000000 FIN_COMPLEX_PORT -BOXES:8 +BOXES:10 BOX wx:CommandButton:Box00 ISEXEC:FALSE @@ -36,10 +36,10 @@ FIN_BOX BOX wx:LayoutLine:Box03 ISEXEC:TRUE -55.755030:65.004036:900.000000 -113.315030:55.004036:900.000000 +59.564768:15.477448:900.000000 +117.124768:5.477448:900.000000 PORT -WinTitle:"Viewer" +WinTitle:"Images tools" FIN_BOX BOX std:ExecSystemCommand:Box04 @@ -81,7 +81,23 @@ ISEXEC:FALSE PORT Label:"Syncrhonize 2 Images" FIN_BOX -CONNECTIONS:8 +BOX +wx:CommandButton:Box11 +ISEXEC:FALSE +-62.280321:47.424565:900.000000 +-16.705321:37.424565:900.000000 +PORT +Label:"Manual paint" +FIN_BOX +BOX +std:ExecSystemCommand:Box12 +ISEXEC:FALSE +-132.548814:23.296227:900.000000 +-61.373814:13.296227:900.000000 +PORT +In:"bbi creaMiniTools/appli/manualPaint.bbs &" +FIN_BOX +CONNECTIONS:10 CONNECTION Box00:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 @@ -112,4 +128,10 @@ NumberOfControlPoints:2 CONNECTION Box03:Widget:widget:widget NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box12:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box11:Widget:Box03:Widget3 +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/boxes/viewerMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs old mode 100755 new mode 100644 similarity index 73% rename from bbtk_package_creaMiniTools/bbs/boxes/viewerMenu.bbs rename to bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs index 9e17143..13148a4 --- a/bbtk_package_creaMiniTools/bbs/boxes/viewerMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box) -# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/viewerMenu.bbs +# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs # ---------------------------------- include std @@ -8,7 +8,7 @@ include itkvtk include wx include std -define ImageViewerMenu creaMiniTools +define ImageToolsMenu creaMiniTools author "Author ??" description "Description ??" @@ -22,7 +22,7 @@ new CommandButton Box02 set Box02.Label "Viewer NV" new LayoutLine Box03 - set Box03.WinTitle "Viewer" + set Box03.WinTitle "Images tools" new ExecSystemCommand Box04 set Box04.In "bbi creaMiniTools/appli/imageWriterExample.bbs &" @@ -39,6 +39,12 @@ new ExecSystemCommand Box09 new CommandButton Box10 set Box10.Label "Syncrhonize 2 Images" +new CommandButton Box11 + set Box11.Label "Manual paint" + +new ExecSystemCommand Box12 + set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &" + connect Box00.BoxChange Box04.BoxExecute connect Box02.BoxChange Box06.BoxExecute @@ -47,6 +53,8 @@ connect Box00.Widget Box03.Widget2 connect Box02.Widget Box03.Widget4 connect Box10.BoxChange Box09.BoxExecute connect Box10.Widget Box03.Widget5 +connect Box11.BoxChange Box12.BoxExecute +connect Box11.Widget Box03.Widget3 exec Box03 -- 2.47.1