From adf70bdc1e07f4cdcf84f906c8a164f8daaa401b Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Tue, 26 Mar 2024 10:35:13 +0100 Subject: [PATCH] Clean code --- bbtk/bbs/boxes/HelpViewerNV.bbg | 49 +++++++++++++++++---------------- bbtk/bbs/boxes/HelpViewerNV.bbs | 6 ++-- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/bbtk/bbs/boxes/HelpViewerNV.bbg b/bbtk/bbs/boxes/HelpViewerNV.bbg index ba6319a..6760666 100644 --- a/bbtk/bbs/boxes/HelpViewerNV.bbg +++ b/bbtk/bbs/boxes/HelpViewerNV.bbg @@ -1,99 +1,100 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/HelpViewerNV.bbg +# - BBTKGEditor v 1.6 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/HelpViewerNV.bbg # ---------------------------------- APP_START CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? +EXPORTFORMAT:0 COMPLEXBOX:TRUE COMPLEXBOXNAME:HelpViewerNV PACKAGENAME:creaMaracasVisu COMPLEXOUTPUTS:1 COMPLEX_PORT widget --35.421851:-72.510817:-900.000000 +-24.795296:-21.753245:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:0 BOXES:10 BOX wx:LayoutLine:Box02 ISEXEC:TRUE --38.719592:-37.691851:-900.000000 -18.840408:-47.691851:-900.000000 +-27.103714:-11.307555:-900.000000 +6.216286:-13.807555:-900.000000 FIN_BOX BOX wx:OutputText:Box03 ISEXEC:FALSE --84.617474:82.369571:-900.000000 --47.842474:72.369571:-900.000000 +-59.232232:24.710871:-900.000000 +-37.562232:22.210871:-900.000000 PORT In:"-Change Z&&2P&& Drag right click mouse" FIN_BOX BOX wx:OutputText:Box04 ISEXEC:FALSE --59.479411:68.651033:-900.000000 --22.704411:58.651033:-900.000000 +-41.635588:20.595310:-900.000000 +-19.965588:18.095310:-900.000000 PORT In:"-Zoom&&2P&& Drag ctrl-right click mouse" FIN_BOX BOX wx:OutputText:Box05 ISEXEC:FALSE --28.972162:52.915716:-900.000000 -7.802838:42.915716:-900.000000 +-20.280513:15.874715:-900.000000 +1.389487:13.374715:-900.000000 PORT In:"-Zoom&&2P&& Wheel mouse" FIN_BOX BOX wx:OutputText:Box06 ISEXEC:FALSE --4.155228:38.876049:-900.000000 -32.619772:28.876049:-900.000000 +-2.908660:11.662815:-900.000000 +18.761340:9.162815:-900.000000 PORT In:"-Move image&&2P&& Drag shift-left click mouse" FIN_BOX BOX wx:OutputText:Box07 ISEXEC:FALSE -15.343630:19.839436:-900.000000 -52.118630:9.839436:-900.000000 +10.740541:5.951831:-900.000000 +32.410541:3.451831:-900.000000 PORT In:"-Rotate image&&2P&& Drag ctrl-middle click mouse" FIN_BOX BOX wx:OutputText:Box08 ISEXEC:FALSE -40.481693:6.120898:-900.000000 -77.256693:-3.879102:-900.000000 +28.337185:1.836269:-900.000000 +50.007185:-0.663731:-900.000000 PORT In:"-Picker (position, gray level)&&2P&& Mouse move" FIN_BOX BOX wx:OutputText:Box09 ISEXEC:FALSE -70.988942:-9.614420:-900.000000 -107.763942:-19.614420:-900.000000 +49.692259:-2.884326:-900.000000 +71.362259:-5.384326:-900.000000 PORT In:"-Move axes&&2P&& Drag the axes with click mouse left" FIN_BOX BOX wx:OutputText:Box10 ISEXEC:FALSE -95.805876:-23.654087:-900.000000 -132.580876:-33.654087:-900.000000 +67.064113:-7.096226:-900.000000 +88.734113:-9.596226:-900.000000 PORT In:"-Choose a point&&2P&& Double click " FIN_BOX BOX wx:OutputText:Box11 ISEXEC:FALSE --103.204056:98.464914:-900.000000 --66.429056:88.464914:-900.000000 +-72.242839:29.539474:-900.000000 +-50.572839:27.039474:-900.000000 PORT -In:"-Brightness / Contrast&&2P&& Drag middle click mouse " +In:"-Brightness / Contrast&&2P&& Drag middle click mouse (ctrl reset)" FIN_BOX CONNECTIONS:10 CONNECTION diff --git a/bbtk/bbs/boxes/HelpViewerNV.bbs b/bbtk/bbs/boxes/HelpViewerNV.bbs index e260f59..af06a5c 100644 --- a/bbtk/bbs/boxes/HelpViewerNV.bbs +++ b/bbtk/bbs/boxes/HelpViewerNV.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/HelpViewerNV.bbs +# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/HelpViewerNV.bbs # ---------------------------------- include std @@ -41,7 +41,7 @@ new wx:OutputText Box10 set Box10.In "-Choose a point: Double click " new wx:OutputText Box11 - set Box11.In "-Brightness / Contrast: Drag middle click mouse " + set Box11.In "-Brightness / Contrast: Drag middle click mouse (ctrl reset)" connect Box11.Widget Box02.Widget1 -- 2.47.1