]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx
It is possible to center the view to the original point
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.cxx
index 494aa2a75b3afdd89948d438594dccb57c538bbb..97a3d3abc45cd02e31d9e5e224f04fb96707c1d9 100644 (file)
@@ -35,7 +35,7 @@ Version:   $Revision$
 
 
 #include "wxGEditorTabPanel.h"
-
+#include "creaWx.h"
 
 namespace bbtk
 {
@@ -79,7 +79,7 @@ namespace bbtk
                std::string packageName="";
                std::string boxName="";
 
-               wxString foo( wxT(data) );
+               wxString foo( (data) );
                char str[150];
                strcpy( str, (const char*)foo.mb_str(wxConvUTF8) );
 
@@ -94,7 +94,6 @@ namespace bbtk
                _sceneManager->createGBlackBox(x,y,packageName, boxName);
 
          return true;
        }
 
        //=========================================================================
@@ -127,7 +126,34 @@ namespace bbtk
 
        //=========================================================================
 
+       void wxGEditorTabPanel::editBlackBox(GBlackBoxModel *bbmodel)
+       {
+               _panelsManager->editBlackBox(bbmodel);
+       }
+
+       //=========================================================================
+       
+       void wxGEditorTabPanel::editDiagramParameters(wxVtkSceneManager* scene)
+       {
+               _panelsManager->editDiagramParameters(scene);
+       }
+
+       //=========================================================================
+
+       void wxGEditorTabPanel::deleteAllBoxes()
+       {
+               _sceneManager->deleteAllBoxes();
+       }
+
+       //=========================================================================
+
+       void wxGEditorTabPanel::centerView()
+       {
+               _sceneManager->centerView();
+       }
+
+       //=========================================================================
+
 }  // EO namespace bbtk
 
 // EOF
-