From 438304b9ee4f7e542c137c41ad899f358230a27d Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 19 Jan 2022 09:02:15 +0100 Subject: [PATCH] Clean Code --- .../bbsWxGUIEditorGraphic/InterpreterBBS.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx index 7365e98..4beaf1c 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx @@ -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 ); } -- 2.47.1