]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx
no message
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainer.cxx
1 //===== 
2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
3 //===== 
4 #include "bbcreaMaracasVisuPanelButtonContainer.h"
5 #include "bbcreaMaracasVisuPackage.h"
6 namespace bbcreaMaracasVisu
7 {
8
9         BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PanelButtonContainer)
10         BBTK_BLACK_BOX_IMPLEMENTATION(PanelButtonContainer,bbtk::WxBlackBox)
11 ;
12 //===== 
13 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
14 //===== 
15 void
16 PanelButtonContainer::Process( )
17 {
18         ButtonContainerSettings* settings = new ButtonContainerSettings( );
19         printf("EED PanelButtonContainer::Process %d\n", bbGetInputIn( ).size() );
20         settings->AddButtons( bbGetInputIn( ) );
21         
22         PBContainer* panel = new PBContainer( myPanel, settings );
23         wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL );
24         sizer->Add( panel, 1, wxEXPAND, 0 );
25         this->myPanel->SetSizer(sizer);
26         
27         this->myPanel->SetAutoLayout(true);
28         this->myPanel->Layout();
29
30         
31 }
32 //===== 
33 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
34 //===== 
35 void PanelButtonContainer::CreateWidget( wxWindow* parent )
36 {
37         this->myPanel = new wxPanel( parent, -1 );
38         wxWindow* ww = bbCreateWidgetOfInput( "In", this->myPanel );
39         bbSetOutputWidget( myPanel);
40
41 }
42 //===== 
43 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
44 //===== 
45 void
46 PanelButtonContainer::bbUserSetDefaultValues( )
47 {
48
49 }
50 //===== 
51 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
52 //===== 
53 void
54 PanelButtonContainer::bbUserInitializeProcessing( )
55 {
56
57 }
58 //===== 
59 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
60 //===== 
61 void
62 PanelButtonContainer::bbUserFinalizeProcessing( )
63 {
64
65 }
66 }
67 // EO namespace bbcreaMaracasVisu
68
69