]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/containerSettings.h
#2516 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel with...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / model / containerSettings.h
index 4d6ddb97dfea1b76d7d2753820f9545a3d25ae53..05c326f981acffb4b99afc9bbb6616b7594b2243 100644 (file)
@@ -34,6 +34,8 @@
 #define BUTTONGROUPSETTINGS_H_
 
 #include <vector>
+#include <wx/bitmap.h>
+//EED-MLER  #include <wx/listctrl.h>
 
 #include "structBCSettings.h"
 #include "system.h"
@@ -41,6 +43,8 @@
 /*!    @namespace <creaButtonContainer>
  *     @brief Contains the creaButtonContainer library included in creaMaracasVisu.
  */
+
+
 namespace creaButtonContainer
 {
        /*! @namespace <creaButtonContainer::model>
@@ -80,6 +84,7 @@ namespace creaButtonContainer
                                 */
                                virtual
                                ~ContainerSettings( );
+                               
                                // ----------------------------------------------------------------------------------
                                /*! @fn ButtonGroupMap ContainerSettings::GetButtonGroupContainer( )
                                 *      @brief This method returns a container of buttons ordered by group.
@@ -94,6 +99,7 @@ namespace creaButtonContainer
                                 */
                                KeyMapList
                                GetGroupNameList( );
+                               
                                // ----------------------------------------------------------------------------------
                                /*! void ContainerSettings::SetButtonGroupContainer( ButtonGroupMap m_ButtonGroupContainer )
                                 *      @brief This method allows to create the ButtonGroupContainer.
@@ -101,6 +107,8 @@ namespace creaButtonContainer
                                 */
                                void
                                SetButtonGroupContainer( ButtonGroupMap bgContainer );
+
+
                                // ----------------------------------------------------------------------------------
                                /*! void ContainerSettings::SetGroupNameList( KeyMapList gNameList )
                                 * @brief This method sets a container with the name of the groups.
@@ -108,6 +116,8 @@ namespace creaButtonContainer
                                 */
                                void
                                SetGroupNameList( KeyMapList gNameList );
+                               
+
                                // ----------------------------------------------------------------------------------
                                /*!
                                 * @fn ContainerSettings::AddButton( const std::string & groupName, const std::string buttonName,
@@ -124,7 +134,7 @@ namespace creaButtonContainer
                                 */
                                void
                                AddButton( const StringType & groupName, const StringType &buttonName,
-                                   const StringType &iconpath, const StringType &buttonDescription,
+                                   const wxBitmap &icon, const StringType &buttonDescription,
                                    FunctionEventType event );
                                // ----------------------------------------------------------------------------------
                                /*! @fn void AddButton( BCSettingsStruct* info );
@@ -143,10 +153,14 @@ namespace creaButtonContainer
                                 */
                                void
                                AddButtons( BCStructVectorType infoList );
+
+                               // ----------------------------------------------------------------------------------
                                // ----------------------------------------------------------------------------------
                        private:
                                ButtonGroupMap m_ButtonGroupContainer; //! <The container with the group of buttons.
                                KeyMapList m_GroupNameList; //! <The container with the name of the groups of buttons.
+
+                               //ListGroupMap m_ListGroupContainer; // contenedor del grupo de listas
                };
        }
 }