#include <wx/panel.h>
#include <wx/aui/aui.h>
#include <string>
+#include <wx/gdicmn.h>
#include "containerSettings.h"
#include "buttonContainerPanel.h"
#include "buttonContainerSettings.h"
#include "functor.h"
+#include "listWx.h"
+#include "listConfigPanel.h"
/*! @namespace <creaPanelButtonContainer>
* @brief Contains the creaPanelButtonContainer library included in creaMaracasVisu.
*/
typedef creaButtonContainer::view::ButtonContainerPanel
ButtonContainerPanel;
+ typedef creaButtonContainer::view::ListWx ListWx;
+ typedef creaPanelButtonContainer::ListConfigPanel
+ ListConfigPanel;
+ typedef std::map<std::string, wxPanel*> ItemsMap;
+
// ----------------------------------------------------------------------------------
//end of typedef definition.
public:
* @param bcSettings //The buttonContainerSettings
*/
PanelButtonContainer( wxWindow* parent,
- ButtonContainerSettings* bcSettings );
+ ButtonContainerSettings* bcSettings, int type );
// ----------------------------------------------------------------------------------
/*! @fn virtual PanelButtonContainer( );
* @brief This is the destructor.
*/
void
GenericButtonEvent( const std::string &buttonName );
+
+ // ----------------------------------------------------------------------------------
+ void
+ UpdateListPanel( const std::string &buttonName );
+
+ void
+ GenericListEvent( const std::string &buttonName );
+
+ //MLER
+
+ void
+ ButtonEvent ( wxCommandEvent& event );
+
+ void
+ ListEvent( wxCommandEvent& event );
+
// ----------------------------------------------------------------------------------
private:
//Settings
ButtonContainerPanel* m_ButtonContainerPanel; //!<This is the panel with de buttons (creaButtonContainer)
wxAuiManager* m_AuiManager; //!<The AUI Manager for the panels.
wxPanel* m_ButtonPanel; //!<This is the panel used to contain the panels of the buttons. (it changes with the buttonAction)
+ wxPanel* m_ListPanel;
+
+ ListWx* mylist; //MLER
+ ListWx* myConfiglist; //MLER
+ wxButton* button;
+ ListConfigPanel* m_listConfigPanel;
+ wxPanel* panelUp;
+
+
DECLARE_EVENT_TABLE() //!<Event Table declaration.
};
}//ecapseman