]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx
v1.1.0 BUG 1400
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GPortModel.cxx
index 5e307213c78ce2599e5a5b88bf38c9a1ad828528..2ca30ba2c5d4fc8f843b7c3e74b34df7bbf6698a 100644 (file)
@@ -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;
     }
 
     //=========================================================================