]> Creatis software - creaMiniTools.git/commitdiff
Feature #2003 DevTools Tab Redesign
authorDaniel Gonzalez <daniel.gonzalez@creatis.insa-lyon.fr>
Thu, 2 May 2013 13:50:41 +0000 (15:50 +0200)
committerDaniel Gonzalez <daniel.gonzalez@creatis.insa-lyon.fr>
Thu, 2 May 2013 13:50:41 +0000 (15:50 +0200)
Now CreaDevelopmentManager button is a bitmap

bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbg
bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs

index 1b58a153b35cbbe2b67fd6d179a288cea738391c..781c50f420902a78bb2ae477f557ea44e4124027 100755 (executable)
@@ -16,7 +16,7 @@ CommandMenu
 70.622014:-99.994145:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:0
-BOXES:28
+BOXES:29
 BOX
 wx:CommandButton:BBEditorButton
 ISEXEC:FALSE
@@ -85,7 +85,7 @@ BOX
 wx:LayoutTab:Tabs
 ISEXEC:FALSE
 74.057776:-35.910504:-900.000000
-119.632776:-45.910504:-900.000000
+131.617776:-45.910504:-900.000000
 FIN_BOX
 BOX
 wx:CommandButton:CreatePackageBBTKButton
@@ -123,9 +123,9 @@ BOX
 wx:LayoutLine:CPPLayout
 ISEXEC:FALSE
 -37.962640:58.562640:-900.000000
-7.612360:48.562640:-900.000000
+19.597360:48.562640:-900.000000
 PORT
-Orientation:"V"
+Orientation:"H"
 FIN_BOX
 BOX
 wx:LayoutLine:Layout
@@ -154,18 +154,10 @@ PORT
 In:"bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
 FIN_BOX
 BOX
-wx:CommandButton:CreaDevManagerButton
-ISEXEC:FALSE
--49.653867:117.753339:-900.000000
-21.521133:107.753339:-900.000000
-PORT
-Label:"Crea Development Manager"
-FIN_BOX
-BOX
 std:ExecSystemCommand:CreaDevManagerComm
 ISEXEC:FALSE
--49.649669:102.233682:-900.000000
-21.525331:92.233682:-900.000000
+-79.019149:97.738353:-900.000000
+-7.844149:87.738353:-900.000000
 PORT
 In:"creaDevManager &"
 FIN_BOX
@@ -221,7 +213,7 @@ BOX
 wx:LayoutLine:DScriptsLayout
 ISEXEC:FALSE
 198.627747:56.688006:-900.000000
-244.202747:46.688006:-900.000000
+256.187747:46.688006:-900.000000
 PORT
 Orientation:"V"
 FIN_BOX
@@ -249,7 +241,21 @@ Proportion:"33"
 PORT
 WinTitle:"Active Tools"
 FIN_BOX
-CONNECTIONS:28
+BOX
+creaMiniTools:MiniToolsIcons:Box29
+ISEXEC:FALSE
+-81.964825:136.058613:-900.000000
+-36.389825:126.058613:-900.000000
+FIN_BOX
+BOX
+wx:BitmapButton:Box30
+ISEXEC:FALSE
+-78.967939:118.676675:-900.000000
+-33.392939:108.676675:-900.000000
+PORT
+Label:"Crea Development Manager"
+FIN_BOX
+CONNECTIONS:29
 CONNECTION
 BBIButton:BoxChange:BBIComm:BoxExecute
 NumberOfControlPoints:0
@@ -278,9 +284,6 @@ CONNECTION
 PlugPackageButton:BoxChange:PlugPackageComm:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-CreaDevManagerButton:BoxChange:CreaDevManagerComm:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 CPPLayout:Widget:CPP:BoxContent
 NumberOfControlPoints:0
 CONNECTION
@@ -293,9 +296,6 @@ CONNECTION
 DScriptsLayout:Widget:DScripts:BoxContent
 NumberOfControlPoints:0
 CONNECTION
-CreaDevManagerButton:Widget:CPPLayout:Widget1
-NumberOfControlPoints:0
-CONNECTION
 BBEditorButton:Widget:ScriptsLayout:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -334,4 +334,13 @@ NumberOfControlPoints:0
 CONNECTION
 Scripts:Widget:ActiveTools:Widget2
 NumberOfControlPoints:0
+CONNECTION
+Box29:IconCreaDevManager:Box30:Bitmap
+NumberOfControlPoints:0
+CONNECTION
+Box30:Widget:CPPLayout:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box30:BoxChange:CreaDevManagerComm:BoxExecute
+NumberOfControlPoints:0
 APP_END
index 4a7d0e4f845e065ad64f41159fe87d712ea28975..fa88185c5aaf79feec6250358e1012c22b5eec17 100755 (executable)
@@ -7,6 +7,7 @@ include std
 include itkvtk
 include wx
 include std
+include creaMiniTools
 
 define CommandMenu creaMiniTools
 
@@ -54,7 +55,7 @@ new ExecSystemCommand CreateBoxBBTKComm
   set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
 
 new LayoutLine CPPLayout
-  set CPPLayout.Orientation "V"
+  set CPPLayout.Orientation "H"
 
 new LayoutLine Layout
   set Layout.Orientation "H"
@@ -66,9 +67,6 @@ new CommandButton PlugPackageButton
 new ExecSystemCommand PlugPackageComm
   set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
 
-new CommandButton CreaDevManagerButton
-  set CreaDevManagerButton.Label "Crea Development Manager"
-
 new ExecSystemCommand CreaDevManagerComm
   set CreaDevManagerComm.In "creaDevManager &"
 
@@ -103,6 +101,11 @@ new LayoutSplit ActiveTools
   set ActiveTools.Proportion "33"
   set ActiveTools.WinTitle "Active Tools"
 
+new MiniToolsIcons Box29
+
+new BitmapButton Box30
+  set Box30.Label "Crea Development Manager"
+
 
 connect BBIButton.BoxChange BBIComm.BoxExecute
 connect CreaNewProjectButton.BoxChange CreaNewProjectComm.BoxExecute
@@ -112,12 +115,10 @@ connect CreatePackageBBTKButton.BoxChange CreatePackageBBTKComm.BoxExecute
 connect CreateBoxBBTKButton.BoxChange CreateBoxBBTKComm.BoxExecute
 connect Tabs.Widget Layout.Widget1
 connect PlugPackageButton.BoxChange PlugPackageComm.BoxExecute
-connect CreaDevManagerButton.BoxChange CreaDevManagerComm.BoxExecute
 connect CPPLayout.Widget CPP.BoxContent
 connect ScriptsLayout.Widget Scripts.BoxContent
 connect DCPPLayout.Widget DCPP.BoxContent
 connect DScriptsLayout.Widget DScripts.BoxContent
-connect CreaDevManagerButton.Widget CPPLayout.Widget1
 connect BBEditorButton.Widget ScriptsLayout.Widget1
 connect BBIButton.Widget ScriptsLayout.Widget2
 connect CreaNewProjectButton.Widget DCPPLayout.Widget1
@@ -131,6 +132,9 @@ connect DeprecatedTools.Widget Tabs.Widget2
 connect ActiveTools.Widget Tabs.Widget1
 connect CPP.Widget ActiveTools.Widget1
 connect Scripts.Widget ActiveTools.Widget2
+connect Box29.IconCreaDevManager Box30.Bitmap
+connect Box30.Widget CPPLayout.Widget1
+connect Box30.BoxChange CreaDevManagerComm.BoxExecute
 
 # Complex input ports