]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx
Feature #1758
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / InterpreterBBS.cxx
index 9604f1800fa3decb048f247f5ab29f3d3605bae4..e68430fab46c5f9659b20d7b8906da4afcbf10fe 100644 (file)
@@ -41,8 +41,6 @@ Version:   $Revision$
 #include "bbtkFactory.h"
 #include "bbtkUtilities.h"
 
-
-
 namespace bbtk
 {
 
@@ -63,8 +61,7 @@ namespace bbtk
 
                _xGeneral               = -100;
                _yGeneral               = 100;
-               _zGeneral               = 900;   //  ?????
-printf("EED  InterpreterBBS::createGBlackBox 900-450\n");
+               _zGeneral               = GPOSITION_Z;   //  ?????
 
                _countBoxes             = 0;
                _countInputs    = 0;
@@ -116,7 +113,7 @@ printf("EED  InterpreterBBS::createGBlackBox 900-450\n");
        {
                double xIn      = -100+50+_countInputs*50;
                double yIn      = 100;
-               double zIn      = 900;
+               double zIn      = GPOSITION_Z;
                _sceneManager->configGComBoxInputOutputPort(true,name,xIn,yIn,zIn);
                _sceneManager->configGConnetion( name,name,box,input);
                _countInputs++;
@@ -131,7 +128,7 @@ printf("EED  InterpreterBBS::createGBlackBox 900-450\n");
                _yGeneral       = _yGeneral - 30;
                double xIn      = -100+_countOutputs*30;
                double yIn      = _yGeneral;
-               double zIn      = 900;
+               double zIn      = GPOSITION_Z;
                _sceneManager->configGComBoxInputOutputPort(false,name,xIn,yIn,zIn);
                _sceneManager->configGConnetion( box,output,name,name);
                _countOutputs++;