#include "wxGEditorTabPanel.h"
-
+#include "creaWx.h"
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) );
_sceneManager->createGBlackBox(x,y,packageName, boxName);
return true;
-
}
//=========================================================================
//=========================================================================
+ 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
-