]> Creatis software - bbtkGEditor.git/commitdiff
Clean Code
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 19 Jan 2022 08:02:15 +0000 (09:02 +0100)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 19 Jan 2022 08:02:15 +0000 (09:02 +0100)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx

index 7365e982a8bc716c865e727b989933238e9556ba..4beaf1c9efd49bc60ffa7c330e48f480b7da7b78 100644 (file)
@@ -84,7 +84,7 @@ namespace bbtk
                _factory                = factory;
                _sceneManager   = sceneManager;
 
-               _xGeneral               = -100;
+               _xGeneral               = -50;
                _yGeneral               = 100;
                _zGeneral               = GPOSITION_Z;   //  ?????
 
@@ -115,10 +115,9 @@ namespace bbtk
                _countBoxes++;
 //EED 2022-01-16
 //             double px                               = _xGeneral + (_countBoxes%2)*100;
-//        _yGeneral                = _yGeneral - 30;
-        double px                = _xGeneral + (_countBoxes%2)*70;
-        _yGeneral                = _yGeneral - 9;
-
+//      _yGeneral               = _yGeneral - 30;
+        double px               = _xGeneral + (_countBoxes%2)*BOX_WIDTH*3.0;
+        _yGeneral               = _yGeneral - BOX_HEIGHT*3.0;
                double py                               = _yGeneral;
                _sceneManager->configGBlackBox(idBox, px,py,_zGeneral,boxName, false , px+BOX_WIDTH, py-BOX_HEIGHT , _zGeneral );
        }