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)
4 #include "bbcreaMaracasVisuPanelButtonContainerSettings.h"
5 #include "bbcreaMaracasVisuPackage.h"
6 namespace bbcreaMaracasVisu
9 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PanelButtonContainerSettings)
10 BBTK_BLACK_BOX_IMPLEMENTATION(PanelButtonContainerSettings,bbtk::WxBlackBox)
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)
16 PanelButtonContainerSettings::Process( )
20 // if (bbGetInputTitle()!="")
22 // msg = bbGetInputTitle()+": " + bbGetInputIn();
26 // msg = bbGetInputIn();
28 // ((wxStaticText*)bbGetOutputWidget())->SetLabel( bbtk::std2wx( msg ) );
30 this->m_BSettings->groupName = bbGetInputGroupName( );
31 this->m_BSettings->buttonName = bbGetInputButtonName( );
32 this->m_BSettings->buttonDescription = bbGetInputButtonDescription( );
33 this->m_BSettings->iconpath = bbGetInputIconpath( );
34 this->m_BSettings->panel = this->myPanel;
35 this->m_BCSettingsVector = bbGetInputIn();
36 this->m_BCSettingsVector.push_back( this->m_BSettings );
37 bbSetOutputOut( bbGetInputIn() );
41 // 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 PanelButtonContainerSettings::CreateWidget( wxWindow* parent )
46 this->myPanel = new wxPanel( parent, -1 );
47 wxWindow* w = bbCreateWidgetOfInput("Widget", myPanel);
48 wxWindow* ww = bbCreateWidgetOfInput("In", parent);
50 wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
51 sizer->Add(w,1,wxEXPAND, 0);
52 this->myPanel->SetSizer(sizer);
53 bbSetOutputWidget( myPanel );
56 // 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 PanelButtonContainerSettings::bbUserSetDefaultValues( )
64 // 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 PanelButtonContainerSettings::bbUserInitializeProcessing( )
69 this->m_BSettings = new BCSettingsStruct();
72 // 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)
75 PanelButtonContainerSettings::bbUserFinalizeProcessing( )
80 // EO namespace bbcreaMaracasVisu