//Includes std
#include <iostream>
+//Includes bbtk
#include <bbtkBlackBoxDescriptor.h>
namespace bbtk
#include "GObjectController.h"
#include "GObjectModel.h"
#include "vtkGObjectView.h"
-
#include "GBlackBoxController.h"
#include "vtkGBlackBoxView.h"
#include "GBlackBoxModel.h"
//Includes std
#include <iostream>
-
+//Includes bbtk
#include <bbtkInterpreter.h>
#include <bbtkFactory.h>
#include <bbtkPackage.h>
//Includes vtk
#include <vtkRenderer.h>
-
#include "vtkConeSource.h"
#include "vtkPolyDataMapper.h"
#include "vtkActor.h"
//Adds a tool btn to the toolbar
_toolbar->AddTool(wxID_NEW,_T("New"),bmp_new, wxNullBitmap, wxITEM_NORMAL,_T("New tab"), _T("Create a new panel tab"));
-
- ////////////////////
- // TEMP to avoid drag and drop
-
- _toolbar->AddTool(15,_T("New Box"),bmp_new, wxNullBitmap, wxITEM_NORMAL,_T("New Box"), _T("Create a new Box"));
-
-
- //
- ////////////////////
-
_toolbar->SetMargins( 2, 2 );
_toolbar->Realize();
SetToolBar(_toolbar);
// connect command event handlers
Connect(wxID_NEW,wxEVT_COMMAND_TOOL_CLICKED,wxCommandEventHandler(wxGUIEditorGraphicBBS::OnToolLeftClick));
- Connect(15,wxEVT_COMMAND_TOOL_CLICKED,wxCommandEventHandler(wxGUIEditorGraphicBBS::OnToolLeftClick));
}
//=========================================================================
case wxID_NEW :
std::cout<<"RaC New"<<std::endl;
_tabsMgr->addNewTab();
- break;
- case 15 :
- BlackBoxDescriptor* desc = _pkgBrowser->GetActualSelected();
-
+ break;
}
}
#include <wx/menu.h>
#include <wx/dnd.h>
+//Includes std
+
namespace bbtk
{
+++ /dev/null
-/*=========================================================================
- Program: bbtk
- Module: $RCSfile$
- Language: C++
- Date: $Date$
- Version: $Revision$
-=========================================================================*/
-
-/* ---------------------------------------------------------------------
-
-* Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale)
-* Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux
-*
-* This software is governed by the CeCILL-B license under French law and
-* abiding by the rules of distribution of free software. You can use,
-* modify and/ or redistribute the software under the terms of the CeCILL-B
-* license as circulated by CEA, CNRS and INRIA at the following URL
-* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-* or in the file LICENSE.txt.
-*
-* As a counterpart to the access to the source code and rights to copy,
-* modify and redistribute granted by the license, users are provided only
-* with a limited warranty and the software's author, the holder of the
-* economic rights, and the successive licensors have only limited
-* liability.
-*
-* The fact that you are presently reading this means that you have had
-* knowledge of the CeCILL-B license and that you accept its terms.
-* ------------------------------------------------------------------------ */
-
-/**
- * \file
- * \brief Class bbtk::wxGUIEditorGraphicContainer .
- */
-
-
-#include "bbtkwxGUIEditorGraphicContainer.h"
-
-namespace bbtk
-{
-
-
- //=========================================================================
- wxGUIEditorGraphicContainer::wxGUIEditorGraphicContainer(wxWindow *parent )
- {
- }
-
- //=========================================================================
- wxGUIEditorGraphicContainer::~ wxGUIEditorGraphicContainer()
- {
- }
- //=========================================================================
-
-
-
-} // EO namespace bbtk
-
-// EOF
-
+++ /dev/null
-/*=========================================================================
- Program: bbtk
- Module: $RCSfile$
- Language: C++
- Date: $Date$
- Version: $Revision$
-=========================================================================*/
-
-/* ---------------------------------------------------------------------
-
-* Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale)
-* Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux
-*
-* This software is governed by the CeCILL-B license under French law and
-* abiding by the rules of distribution of free software. You can use,
-* modify and/ or redistribute the software under the terms of the CeCILL-B
-* license as circulated by CEA, CNRS and INRIA at the following URL
-* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-* or in the file LICENSE.txt.
-*
-* As a counterpart to the access to the source code and rights to copy,
-* modify and redistribute granted by the license, users are provided only
-* with a limited warranty and the software's author, the holder of the
-* economic rights, and the successive licensors have only limited
-* liability.
-*
-* The fact that you are presently reading this means that you have had
-* knowledge of the CeCILL-B license and that you accept its terms.
-* ------------------------------------------------------------------------ */
-
-
-
-/**
- * \file
- * \brief Class bbtk::wxGUIEditorGraphicContainer .
- */
-
-/**
- * \class bbtk::wxGUIEditorGraphicContainer
- * \brief
- */
-
-#ifndef __wxGUIEditorGraphicContainer_h__
-#define __wxGUIEditorGraphicContainer_h__
-
-#include <wx/window.h>
-
-namespace bbtk
-{
-
-
- class wxGUIEditorGraphicContainer
- {
- public:
- wxGUIEditorGraphicContainer( wxWindow *parent );
- ~wxGUIEditorGraphicContainer();
- private:
-
- protected:
-
- };
-
-
-}
-// namespace bbtk
-#endif
-