]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.h
#2502 creaMaracasVisu Feature New Normal - alternation between containers: button...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / buttonContainerPanel.h
index 988fbc2496905652ac77e80f90dd1af937eb8b63..8fdc3b6bec91dc18a3a9a833b4e20dc02808e202 100644 (file)
@@ -133,11 +133,13 @@ namespace creaButtonContainer
                                typedef creaButtonContainer::controller::ButtonContainerController
                                    BCController;
 
+                               typedef creaButtonContainer::model::ListGroupFactory ListGroupFactory;
+
                                typedef creaButtonContainer::view::ListGroup ListGroup;
 
                                typedef std::list< ListGroup* > ListGroupList;
 
-                               typedef creaButtonContainer::model::ListGroupFactory ListGroupFactory;
+                               //typedef creaButtonContainer::model::ListGroupFactory ListGroupFactory;
 
                                // ----------------------------------------------------------------------------------
                                //end of typedef definition
@@ -147,7 +149,7 @@ namespace creaButtonContainer
                                 * @param parent wxWindow pointer to parent.
                                 * @param settings ButtonGroupSettings Pointer to button container settings.
                                 */
-                               ButtonContainerPanel( wxWindow* parent, ButtonGroupSettings* settings, std::string type );
+                               ButtonContainerPanel( wxWindow* parent, ButtonGroupSettings* settings, int type );
                                // ----------------------------------------------------------------------------------
                                /*! @fn ~ButtonContainerPanel( );
                                 * @brief This is the destructor.
@@ -160,14 +162,18 @@ namespace creaButtonContainer
                                 * @param groupContainer
                                 */
                                void
-                               SetGroupContainer( ButtonGroupList groupContainer );
+                               SetButtonGroupContainer( ButtonGroupList groupContainer );
                                // ----------------------------------------------------------------------------------
                                /*! @fn PanelInit( );
                                 *      This method initializes the panel.
                                 *      @exception std::bad_alloc
                                 */
                                void
-                               PanelInit( std::string type);
+                               PanelInit( int type);
+                               // ----------------------------------------------------------------------------------
+
+                               void
+                               SetListGroupContainer(ListGroupList groupContainer );
                                // ----------------------------------------------------------------------------------
                                /*! @fn FitSizer( );
                                 * This method fits and organizes the sizer.