1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - E:\creatis\creaToolsCompilation4\creatools_sources\creaMiniTools\bbtk_package_creaMiniTools\bbs\boxes\commandMenu.bbs
4 # ----------------------------------
12 define CommandMenu creaMiniTools
15 description "Description ??"
19 new wx:CommandButton BBEditorButton
20 set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)"
22 new wx:CommandButton BBIButton
23 set BBIButton.Label "bbi (Script Interpreter)"
25 new wx:CommandButton BBStudioButton
26 set BBStudioButton.Label "bbStudio (Script Management)"
28 new wx:CommandButton CreaNewProjectButton
29 set CreaNewProjectButton.Label "Crea New Project (Create a blank project)"
31 new std:ExecSystemCommand CreaNewProjectComm
32 set CreaNewProjectComm.In "creaNewProject &"
34 new std:ExecSystemCommand BBIComm
35 set BBIComm.In "bbi &"
37 new std:ExecSystemCommand BBStudioComm
38 set BBStudioComm.In "bbStudio &"
40 new std:ExecSystemCommand BBEditorComm
44 new wx:CommandButton CreatePackageBBTKButton
45 set CreatePackageBBTKButton.Label "Create Package BBTK"
47 new wx:CommandButton CreateBoxBBTKButton
48 set CreateBoxBBTKButton.Label "Create Box BBTK"
50 new std:ExecSystemCommand CreatePackageBBTKComm
51 set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
53 new std:ExecSystemCommand CreateBoxBBTKComm
54 set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
56 new wx:LayoutLine CPPLayout
57 set CPPLayout.Orientation "H"
59 new wx:LayoutLine Layout
60 set Layout.Orientation "H"
61 set Layout.WinTitle "DevTools"
63 new wx:CommandButton PlugPackageButton
64 set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
66 new std:ExecSystemCommand PlugPackageComm
67 set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
69 new std:ExecSystemCommand CreaDevManagerComm
72 set CPP.BoxTitle "C++"
74 new wx:StaticBox Scripts
75 set Scripts.BoxTitle "Scripts (bbg/bbs)"
78 set DCPP.BoxTitle "C++"
80 new wx:StaticBox DScripts
81 set DScripts.BoxTitle "Scripts (bbg/bbs)"
83 new wx:LayoutLine ScriptsLayout
84 set ScriptsLayout.Orientation "V"
86 new wx:LayoutLine DCPPLayout
87 set DCPPLayout.Orientation "V"
89 new wx:LayoutLine DScriptsLayout
90 set DScriptsLayout.Orientation "V"
92 new wx:LayoutSplit DeprecatedTools
93 set DeprecatedTools.Orientation "V"
94 set DeprecatedTools.Proportion "80"
95 set DeprecatedTools.WinTitle "DeprecatedTools"
97 new wx:LayoutSplit ActiveTools
98 set ActiveTools.Orientation "V"
99 set ActiveTools.Proportion "33"
100 set ActiveTools.WinTitle "Active Tools"
102 new creaMiniTools:MiniToolsIcons Box29
104 new wx:BitmapButton Box30
105 set Box30.Label "Crea Development Manager"
107 new std:Configuration Box31
109 new std:ConcatStrings Box32
110 set Box32.In2 "creaDevManager &"
112 new std:StringSelect Box33
113 set Box33.In1 "start /b "
115 new std:ConcatStrings Box34
116 set Box34.In2 "bbEditor &"
119 connect BBIButton.BoxChange BBIComm.BoxExecute
120 connect CreaNewProjectButton.BoxChange CreaNewProjectComm.BoxExecute
121 connect BBStudioButton.BoxChange BBStudioComm.BoxExecute
122 connect BBEditorButton.BoxChange BBEditorComm.BoxExecute
123 connect CreatePackageBBTKButton.BoxChange CreatePackageBBTKComm.BoxExecute
124 connect CreateBoxBBTKButton.BoxChange CreateBoxBBTKComm.BoxExecute
125 connect Tabs.Widget Layout.Widget1
126 connect PlugPackageButton.BoxChange PlugPackageComm.BoxExecute
127 connect CPPLayout.Widget CPP.BoxContent
128 connect ScriptsLayout.Widget Scripts.BoxContent
129 connect DCPPLayout.Widget DCPP.BoxContent
130 connect DScriptsLayout.Widget DScripts.BoxContent
131 connect BBEditorButton.Widget ScriptsLayout.Widget1
132 connect BBIButton.Widget ScriptsLayout.Widget2
133 connect CreaNewProjectButton.Widget DCPPLayout.Widget1
134 connect CreatePackageBBTKButton.Widget DCPPLayout.Widget2
135 connect CreateBoxBBTKButton.Widget DCPPLayout.Widget3
136 connect PlugPackageButton.Widget DCPPLayout.Widget4
137 connect BBStudioButton.Widget DScriptsLayout.Widget1
138 connect DScripts.Widget DeprecatedTools.Widget2
139 connect DCPP.Widget DeprecatedTools.Widget1
140 connect DeprecatedTools.Widget Tabs.Widget2
141 connect ActiveTools.Widget Tabs.Widget1
142 connect CPP.Widget ActiveTools.Widget1
143 connect Scripts.Widget ActiveTools.Widget2
144 connect Box29.IconCreaDevManager Box30.Bitmap
145 connect Box30.Widget CPPLayout.Widget1
146 connect Box30.BoxChange CreaDevManagerComm.BoxExecute
147 connect Box32.Out CreaDevManagerComm.In
148 connect Box31.SystemType Box33.In
149 connect Box33.Out Box32.In1
150 connect Box34.Out BBEditorComm.In
151 connect Box33.Out Box34.In1
153 # Complex input ports
155 # Complex output ports
156 output CommandMenu Layout.Widget " "