]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/creaPanelButtonContainer.h
#2516 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel with...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaPanelButtonContainer / creaPanelButtonContainer.h
index deb21348fde8ac24fe1d83c087ff5addf715ed9a..6677627a476651116ce2beba90309a53b73600a9 100644 (file)
 #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.
@@ -66,6 +69,11 @@ namespace creaPanelButtonContainer
                         */
                        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:
@@ -76,7 +84,7 @@ namespace creaPanelButtonContainer
                         *      @param bcSettings //The buttonContainerSettings
                         */
                        PanelButtonContainer( wxWindow* parent,
-                           ButtonContainerSettings* bcSettings, std::string type );
+                           ButtonContainerSettings* bcSettings, int type );
                        // ----------------------------------------------------------------------------------
                        /*! @fn virtual PanelButtonContainer( );
                         *      @brief This is the destructor.
@@ -99,6 +107,22 @@ namespace creaPanelButtonContainer
                         */
                        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
@@ -107,6 +131,15 @@ namespace creaPanelButtonContainer
                        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