]> 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 c7e5c09fa8e4642f98115b512a86d3d1acb2a4a8..096ceddf773c7bfe689875819eb2be635a51bedb 100644 (file)
 #include <string>
 #include <wx/gdicmn.h>
 
+#include "listConfigDialog.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.
@@ -74,10 +74,10 @@ namespace creaPanelButtonContainer
                         *      This class inherits from wxPanel and contains a wxListBox
                         */
                        typedef creaButtonContainer::view::ListWx ListWx;
-                       /*!     typedef creaPanelButtonContainer::ListConfigPanel ListConfigPanel;
+                       /*!     typedef creaPanelButtonContainer::ListConfigDialog ListConfigDialog;
                         *      @brief Defines a ListConfigPanel to configure
                         */
-                       typedef creaPanelButtonContainer::ListConfigPanel ListConfigPanel;
+                       typedef creaButtonContainer::view::ListConfigDialog ListConfigDialog;
                        //End MLER
 
                        // ----------------------------------------------------------------------------------
@@ -120,6 +120,8 @@ namespace creaPanelButtonContainer
 
                        void
                        UpdateListPanel(const std::string &buttonName);
+                       void
+                       OnConfigButton(wxCommandEvent& event);
 
                        // ----------------------------------------------------------------------------------
                private:
@@ -132,8 +134,12 @@ namespace creaPanelButtonContainer
 
                        //MLER
                        ListWx* m_ListWxPanel;
-
-                       DECLARE_EVENT_TABLE()
+                       ListConfigDialog* m_ListConfigDialog;
+                       //
+                       wxPanel* m_PanelUp;
+                       ListWx* m_CurrentWxPanel;
+                       //todo change to bitmap
+                       wxButton* m_ConfigButton;DECLARE_EVENT_TABLE()
                        //!<Event Table declaration.
        };
 } //ecapseman