]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/system.h
#2502 creaMaracasVisu Feature New Normal - alternation between containers: button...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / model / system.h
index 93c87b304847c7b96e98a3046c9156c6ca156bff..475bb212ebf796bb3986ea845d6bd5f24a16f5af 100644 (file)
 #include <exception>
 #include <string>
 #include "functor.h"
+//#include "listWx.h"
+//#include <wx/listctrl.h>
+
 
 /*!    @namespace <creaButtonContainer>
  *     @brief Contains the creaButtonContainer library included in creaMaracasVisu.
  */
+
+/*namespace creaButtonContainer
+{
+       namespace view
+       {
+               typedef std::list< ListWx* > ListLst;
+               typedef std::map< StringType, ListLst > ListGroupMap; // ex: grupo A,lista A,lista B
+       }
+
+
+}*/
 namespace creaButtonContainer
 {
+       //using namespace view;
        // ----------------------------------------------------------------------------------
        /*!     @typedef std::string* StringType;
         *      @brief Defines the StringType type.
         */
        typedef std::string StringType;
        // ----------------------------------------------------------------------------------
+       /*!     @typedef std::string* BitmapType;
+        *      @brief Defines the BitmapType type.
+        */
+       typedef wxBitmap BitmapType;
+       // ----------------------------------------------------------------------------------
        /*!     @typedef model::TFunctor* FunctionEventType;
         *      @brief Defines the FunctionEventType type.
         */
@@ -61,12 +81,14 @@ namespace creaButtonContainer
         *      First is the button description, Second FunctionEventType
         */
        typedef std::pair< StringType, FunctionEventType > ButtonAction;
+       
        // ----------------------------------------------------------------------------------
-       /*!     @typedef std::pair< std::string, std::string > ButtonInfo;
+       /*!     @typedef std::pair< std::string, BitmapType > ButtonInfo;
         *      @brief Defines the ButtonInfo type.
         *      First is the ButtonName and Second is the IconPath
         */
-       typedef std::pair< StringType, StringType > ButtonInfo;
+       typedef std::pair< StringType, BitmapType > ButtonInfo;
+
        // ----------------------------------------------------------------------------------
        /*!     @typedef std::pair< ButtonInfo*, ActionButton* > ButtonPair;
         *      @brief Defines the ButtonPair type.
@@ -77,17 +99,30 @@ namespace creaButtonContainer
         *      @brief Defines the KeyMapList type.
         */
        typedef std::list< StringType > KeyMapList;
+       
        // ----------------------------------------------------------------------------------
        /*!     @typedef std::list< ButtonPair* > ButtonList;
         *      @brief Defines the ButtonList type.
         */
        typedef std::list< ButtonPair* > ButtonList;
+       
        // ----------------------------------------------------------------------------------
        /*!     @typedef std::map< std::string, ButtonList > ButtonGroupMap;
         *      @brief Defines the ButtonGroupMap type.
         */
        typedef std::map< StringType, ButtonList > ButtonGroupMap;
+
+
+
+       //typedef wxListItem* Item; //lista objeto
+       //typedef std::list< Item > ItemsList; //lista de los objetos lista
+       //typedef std::list <ItemsList> Lista;
+       //typedef std::map< StringType, ItemsList > ListGroupMap; // ex: grupo A,items lista A (la lista de ese grupo)
+
+
+       //typedef std::list< ListWx > ListLst; // lista contenedor
+       //typedef std::map< StringType, ListLst > ListGroupMap; // ex: grupo A,lista A,lista B
+
 // ----------------------------------------------------------------------------------
 }
-
 #endif /* SYSTEM_H_ */