2 # ---------------------------------------------------------------------
4 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
6 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
8 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
10 # This software is governed by the CeCILL-B license under French law and
11 # abiding by the rules of distribution of free software. You can use,
12 # modify and/ or redistribute the software under the terms of the CeCILL-B
13 # license as circulated by CEA, CNRS and INRIA at the following URL
14 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
15 # or in the file LICENSE.txt.
17 # As a counterpart to the access to the source code and rights to copy,
18 # modify and redistribute granted by the license, users are provided only
19 # with a limited warranty and the software's author, the holder of the
20 # economic rights, and the successive licensors have only limited
23 # The fact that you are presently reading this means that you have had
24 # knowledge of the CeCILL-B license and that you accept its terms.
25 # ------------------------------------------------------------------------ */
28 /*=========================================================================
30 Module: $RCSfile: bbtkBlackBox.cxx,v $
32 Date: $Date: 2009/05/18 10:45:40 $
33 Version: $Revision: 1.45 $
34 =========================================================================*/
40 * \brief Class bbtk::WxInterfaceEditorGraphicBBS .
44 #include "bbtkwxGUIEditorGraphicBBS.h"
45 #include "bbtkwxGUIEditorGraphicContainer.h"
52 //=========================================================================
53 wxGUIEditorGraphicBBS::wxGUIEditorGraphicBBS(wxFrame *parent)
54 : wxFrame(parent, -1, _T("bbEditor"),wxDefaultPosition, wxSize(1200,800))
56 m_mgr.SetManagedWindow(this);
57 editorgraphiccontainer = new wxGUIEditorGraphicContainer(this);
59 wxPanel *mWxGUIGrapphicEditorPanel = new wxPanel(this,-1);
60 wxPanel *mWxGUIBoxBrowserPanel = new wxPanel(this,-1);
61 wxPanel *mWxGUIConfigurationGraphicEditorPanel = new wxPanel(this,-1);
63 mWxGUIGrapphicEditorPanel->SetBackgroundColour( wxColor(255,0,0) );
64 mWxGUIBoxBrowserPanel->SetBackgroundColour( wxColor(0,255,0) );
65 mWxGUIConfigurationGraphicEditorPanel->SetBackgroundColour( wxColor(255,0,255) );
68 m_mgr.AddPane(mWxGUIGrapphicEditorPanel,
69 wxAuiPaneInfo().Name(wxT("graphic_editor_content"))
70 .Caption(wxT("Graphic editor"))
74 .MinSize(wxSize(100,100))
77 m_mgr.AddPane(mWxGUIBoxBrowserPanel,
78 wxAuiPaneInfo().Name(wxT("box_browser_content"))
79 .Caption(wxT("Box browser"))
84 .MinSize(wxSize(400,100))
87 m_mgr.AddPane(mWxGUIConfigurationGraphicEditorPanel,
88 wxAuiPaneInfo().Name(wxT("configuration_graphic_editor_content"))
89 .Caption(wxT("Messages"))
93 .MinSize(wxSize(100,100))
102 //=========================================================================
103 wxGUIEditorGraphicBBS::~wxGUIEditorGraphicBBS()
105 delete editorgraphiccontainer;
108 //=========================================================================
112 } // EO namespace bbtk