]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/system.h
#2507 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / model / system.h
index 93c87b304847c7b96e98a3046c9156c6ca156bff..987a5653342625a0f7c5b19c7b605bcb42367643 100644 (file)
 #include <string>
 #include "functor.h"
 
-/*!    @namespace <creaButtonContainer>
- *     @brief Contains the creaButtonContainer library included in creaMaracasVisu.
- */
+
 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 +67,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 +85,20 @@ 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;
+
+
 // ----------------------------------------------------------------------------------
 }
-
 #endif /* SYSTEM_H_ */