X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.cxx;h=97a3d3abc45cd02e31d9e5e224f04fb96707c1d9;hb=10fae0f9392e3eaf390fd4cc0ac0a888b9d103e0;hp=3171eb227cb86bdcf9563d09c860c36acdded80d;hpb=3babfd57a9b4b3cffba34415e928239592e7d4a1;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index 3171eb2..97a3d3a 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -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; - } //========================================================================= @@ -120,7 +119,41 @@ namespace bbtk //========================================================================= + std::string wxGEditorTabPanel::getDiagramScript() + { + return _sceneManager->getDiagramScript(); + } + + //========================================================================= + + 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 -