]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx
The actual version updates the status bar with the highlighted object ... Also it...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.cxx
index b6dbb500b0a1fddff97145acaddd7251f951ae45..3171eb227cb86bdcf9563d09c860c36acdded80d 100644 (file)
@@ -79,7 +79,6 @@ namespace bbtk
                std::string packageName="";
                std::string boxName="";
 
-
                wxString foo( wxT(data) );
                char str[150];
                strcpy( str, (const char*)foo.mb_str(wxConvUTF8) );
@@ -94,14 +93,33 @@ namespace bbtk
                 
                _sceneManager->createGBlackBox(x,y,packageName, boxName);
 
-               //cout<<"result is pkg:"<<packageName<<" box:"<<boxName<<endl;
-               //cout<<"RaC DyD:"<<data<<" x:"<<x<<" t:"<<y<<endl; 
          return true;
  
        }
 
        //=========================================================================
 
+       void wxGEditorTabPanel::setPanelsManager(wxTabPanelsManager* panelsManager)
+       {
+               _panelsManager = panelsManager;
+       }
+
+       //=========================================================================
+
+       void wxGEditorTabPanel::displayBlackBoxInfo(std::string packageName, std::string boxName)
+       {
+               _panelsManager->displayBlackBoxInfo(packageName,boxName);
+       }
+
+       //=========================================================================
+
+       void wxGEditorTabPanel::updateStatusBar(std::string textStatus)
+       {
+               _panelsManager->updateStatusBar(textStatus);
+       }
+
+       //=========================================================================
+
 }  // EO namespace bbtk
 
 // EOF