X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FcreaButtonContainer%2Fview%2FgroupManager.cxx;h=eac787a8939a090c663b23bd275036dd9078c580;hb=8f1f70ffb361d0ccde7da40ff128cebdcfcf3f13;hp=4ff4ec435e135375c2f40be08a9f0f698524dae3;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/groupManager.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/groupManager.cxx index 4ff4ec4..eac787a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/groupManager.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/groupManager.cxx @@ -41,6 +41,7 @@ namespace creaButtonContainer wxFlexGridSizer( 1, 0, 0, 0 ) { //EED 20/01/2012 flag 02 + std::cout<< "MLER | GroupManager::GroupManager( )" << std::endl; this->m_IDExpButton = wxNewId( ); this->m_ExpansionButton = new ExpansionButton( parent, this->m_IDExpButton, _("-"), wxDefaultPosition, wxSize( 20, 20 ), 0, wxDefaultValidator, _T("EXPBUTTON") ); this->Add( m_ExpansionButton, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 ); @@ -48,6 +49,17 @@ namespace creaButtonContainer this->Add( this->m_ButtonManager, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 ); } + /*GroupManager::GroupManager(wxWindow* parent, ListGroup* buttonGroup ): + wxFlexGridSizer( 1, 0, 0, 0 ) + { + std::cout << " MLER groupManager.cxx / GroupManager(ListGroup* buttonGroup) " << std::endl; + this->m_IDExpButton = wxNewId( ); + this->m_ExpansionButton = new ExpansionButton( parent, this->m_IDExpButton, _("-"), wxDefaultPosition, wxSize( 20, 20 ), 0, wxDefaultValidator, _T("EXPBUTTON") ); + this->Add( m_ExpansionButton, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 ); + this->m_ButtonManager = new ButtonManager( buttonGroup ); + this->Add( this->m_ButtonManager, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 ); + }//MLER*/ + // ---------------------------------------------------------------------------------- GroupManager::~GroupManager( ) { @@ -57,6 +69,7 @@ namespace creaButtonContainer long GroupManager::GetButtonID( ) { + std::cout<< "MLER | GroupManager::GetButtonID( )" << std::endl; return ( this->m_IDExpButton ); } @@ -64,6 +77,7 @@ namespace creaButtonContainer GroupManager::ExpansionButton* GroupManager::GetButton( ) { + std::cout<< "MLER | GroupManager::GetButton( )" << std::endl; return ( this->m_ExpansionButton ); } @@ -99,6 +113,7 @@ namespace creaButtonContainer void GroupManager::HideSubPanel( bool hide ) { + std::cout<< "MLER | GroupManager::HideSubPanel( bool hide )" << std::endl; if ( hide == true ) { this->m_ButtonManager->HideButtonManager( );