]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonManager.h
#2502 creaMaracasVisu Feature New Normal - alternation between containers: button...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / buttonManager.h
index 9b7aca409e019cfc9338eedc9ac945144070cf9f..88eeb5f69c64951c5e0922b42b1c2fccf8f1b08a 100644 (file)
@@ -43,6 +43,8 @@
 
 #include "button.h"
 #include "buttonGroup.h"
+#include "listWx.h"
+#include "listGroup.h"
 
 /*!    @namespace <creaButtonContainer>
  *     @brief Contains the creaButtonContainer library included in creaMaracasVisu.
@@ -80,6 +82,10 @@ namespace creaButtonContainer
                                 */
                                typedef std::map< long, Button* > ButtonContainer;
                                // ----------------------------------------------------------------------------------
+                               //MLER
+                               typedef creaButtonContainer::view::ListGroup ListGroup;
+                               typedef std::map<long, ListWx* > ListContainer;
+
                                //end of typedef definition.
                        public:
                                // ----------------------------------------------------------------------------------
@@ -95,6 +101,10 @@ namespace creaButtonContainer
                                 */
                                ButtonManager( ButtonGroup* buttonGroup );
                                // ----------------------------------------------------------------------------------
+                               //MLER
+                               ButtonManager (ListGroup* buttonGroup);
+                               // ----------------------------------------------------------------------------------
+
                                /*! @fn ~ButtonManager( );
                                 * @brief This is the destructor.
                                 */
@@ -111,6 +121,7 @@ namespace creaButtonContainer
                                /*! @fn ShowButtonManager( );
                                 * @brief This method shows the ButtonManager
                                 */
+
                                void
                                ShowButtonManager( );
                                // ----------------------------------------------------------------------------------
@@ -130,6 +141,12 @@ namespace creaButtonContainer
                                void
                                SetButtonManager( ButtonContainer buttonContainer );
                                // ----------------------------------------------------------------------------------
+                               //MLER
+                               void
+                               SetListManager( ListContainer buttonContainer );
+                               // ----------------------------------------------------------------------------------
+
+
                        private:
                                wxStaticText* m_GroupName; //!<The name of the group.
                                wxGridSizer* m_GridSizer; //!<The sizer that contains the buttons.