1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/rescaleSlopeInterceptMenu.bbs
4 # ----------------------------------
11 define RescaleSlopeInterceptMenu creaMiniToolsBase
14 description "Description ??"
18 new wx:CommandButton Box00
19 set Box00.Label "NewPixel = Rescale * pixel + Slope AND Data Format"
21 new wx:CommandButton Box01
22 set Box01.Label "rescaleSlopeIntercept1"
24 new wx:CommandButton Box02
25 set Box02.Label "rescaleSlopeIntercept2"
27 new wx:CommandButton Box03
28 set Box03.Label "rescaleSlopeIntercept3"
30 new std:ExecSystemCommand Box04
32 new std:ExecSystemCommand Box05
34 new std:ExecSystemCommand Box06
36 new std:ExecSystemCommand Box07
38 new wx:OutputText Box08
39 set Box08.In "Select the Example"
41 new wx:LayoutLine Box09
42 set Box09.WinTitle "RescaleSlopeIntercept"
44 new std:Configuration Box10
46 new std:StringSelect Box11
47 set Box11.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &"
48 set Box11.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept0.bbs &"
50 new std:StringSelect Box12
51 set Box12.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &"
52 set Box12.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept1.bbs &"
54 new std:StringSelect Box13
55 set Box13.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &"
56 set Box13.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept3.bbs &"
58 new std:StringSelect Box14
59 set Box14.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &"
60 set Box14.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept2.bbs &"
63 connect Box00.BoxChange Box04.BoxExecute
64 connect Box01.BoxChange Box05.BoxExecute
65 connect Box02.BoxChange Box06.BoxExecute
66 connect Box03.BoxChange Box07.BoxExecute
67 connect Box08.Widget Box09.Widget1
68 connect Box01.Widget Box09.Widget3
69 connect Box02.Widget Box09.Widget4
70 connect Box00.Widget Box09.Widget2
71 connect Box03.Widget Box09.Widget5
72 connect Box10.SystemType Box11.In
73 connect Box10.SystemType Box12.In
74 connect Box10.SystemType Box13.In
75 connect Box10.SystemType Box14.In
76 connect Box12.Out Box05.In
77 connect Box11.Out Box04.In
78 connect Box14.Out Box06.In
79 connect Box13.Out Box07.In
83 # Complex output ports
84 output widget Box09.Widget " "