]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuPanelButtonContainerSettings.cxx
(some of the) unused variables
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainerSettings.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 "bbcreaMaracasVisuPanelButtonContainerSettings.h"
5 #include "bbcreaMaracasVisuPackage.h"
6 namespace bbcreaMaracasVisu
7 {
8
9         BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PanelButtonContainerSettings)
10         BBTK_BLACK_BOX_IMPLEMENTATION(PanelButtonContainerSettings,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 PanelButtonContainerSettings::Process( )
17 {
18
19         this->m_BSettings->groupName                    = bbGetInputGroupName( );
20         this->m_BSettings->buttonName                   = bbGetInputButtonName( );
21         this->m_BSettings->buttonDescription    = bbGetInputButtonDescription( );
22         this->m_BSettings->iconpath                             = bbGetInputIconpath( );
23         this->m_BSettings->panel                                = this->myPanel;
24         this->m_BCSettingsVector                                = bbGetInputIn();
25         this->m_BCSettingsVector.push_back(  this->m_BSettings );
26         bbSetOutputOut( this->m_BCSettingsVector );
27         
28         printf("EED PanelButtonContainerSettings::Process In  %d\n", bbGetInputIn( ).size() );
29         printf("EED PanelButtonContainerSettings::Process tmpVec  %d\n", this->m_BCSettingsVector.size() );
30         printf("EED PanelButtonContainerSettings::Process Out  %d\n", bbGetOutputOut( ).size() );
31         
32 }
33 //===== 
34 // 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)
35 //===== 
36 void
37 PanelButtonContainerSettings::CreateWidget( wxWindow* parent )
38 {
39   this->myPanel = new wxPanel( parent, -1 );
40         wxWindow* w  = bbCreateWidgetOfInput("Widget", myPanel);
41         /// \TODO fix : unused variable \u2018ww\u2019
42         wxWindow* ww = bbCreateWidgetOfInput("In", parent);
43
44   wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
45   sizer->Add(w,1,wxEXPAND, 0);
46   this->myPanel->SetSizer(sizer);
47   bbSetOutputWidget( myPanel ); 
48 }
49 //===== 
50 // 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)
51 //===== 
52 void
53 PanelButtonContainerSettings::bbUserSetDefaultValues( )
54 {
55
56 }
57 //===== 
58 // 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)
59 //===== 
60 void
61 PanelButtonContainerSettings::bbUserInitializeProcessing( )
62 {
63         this->m_BSettings = new BCPSettingsStruct();
64 }
65 //===== 
66 // 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)
67 //===== 
68 void
69 PanelButtonContainerSettings::bbUserFinalizeProcessing( )
70 {
71
72 }
73
74
75 }
76 // EO namespace bbcreaMaracasVisu