X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGPortModel.cxx;h=2ca30ba2c5d4fc8f843b7c3e74b34df7bbf6698a;hb=a28e6f908ae524e5ef4b70dba487e88cc525d27c;hp=5e307213c78ce2599e5a5b88bf38c9a1ad828528;hpb=374fe79069e8d99555db1f819a3a03f1ba2f5fe6;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx index 5e30721..2ca30ba 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx @@ -46,12 +46,12 @@ namespace bbtk { //========================================================================= GPortModel::GPortModel( ) { - _parentBox = NULL ; - _portType = -1 ; - _posInBox = 0 ; - _isConnected = false ; - _value = "" ; - _isValueSet = false ; + _parentBox = NULL ; + _portType = -1 ; + _posInBox = 0 ; + _isConnected = false ; + _value = "" ; + _isValueSet = false ; } //========================================================================= @@ -61,12 +61,10 @@ namespace bbtk { //========================================================================= void GPortModel::registerInBox( GBoxModel *blackBox , int portType , int pos ) { - _parentBox = blackBox ; - _portType = portType ; - _posInBox = pos ; - + _parentBox = blackBox ; + _portType = portType ; + _posInBox = pos ; updatePortPosition( ) ; - } //========================================================================= @@ -127,7 +125,7 @@ namespace bbtk { //========================================================================= GBoxModel* GPortModel::getParentBox( ) { - return _parentBox ; + return _parentBox; } //=========================================================================