1 /************************************************************************************//*!
3 * Purpose: @brief This contains the Button class
4 * Author: @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
8 ***************************************************************************************/
13 //! @include <wx/bmpbuttn.h>
14 #include <wx/bmpbuttn.h>
15 //! @include <<wx/image.h>
17 //! @include <wx/string.h>
18 #include <wx/string.h>
21 //! @include <iostream>
23 //! @include "functor.h"
25 //! @include "system.h"
28 //! @namespace <creaButtonContainer>
29 namespace creaButtonContainer
34 /*! @class ContainerSettings containerSettings.h "containerSettings.h"
35 * @brief This class contains the settings of the button container.
36 * This class describes how to add new buttons to the container.
38 class Button : public wxBitmapButton
41 /*! @typedef creaButtonContainer::model::ContainerSettings ButtonGroupModel;
42 * @brief Defines the ButtonGroupModel type.
44 typedef creaButtonContainer::model::TFunctor TFunctor;
46 // ----------------------------------------------------------------------------------
47 /*! @fn void ContainerSettings::ContainerSettings( )
48 * @brief This is the constructor.
50 Button( wxWindow* parent, long id, ButtonPair* pair );
51 // ----------------------------------------------------------------------------------
52 /*! @fn void ContainerSettings::ContainerSettings( )
53 * @brief This is the constructor.
57 // ----------------------------------------------------------------------------------
58 /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
59 * @brief This function returns a container with the name of the groups.
60 * @return KeyMapList A list with the name of the button groups.
64 // ----------------------------------------------------------------------------------
65 /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
66 * @brief This function returns a container with the name of the groups.
67 * @return long A list with the name of the button groups.
71 // ----------------------------------------------------------------------------------
72 /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
73 * @brief This function returns a container with the name of the groups.
74 * @return std::string A list with the name of the button groups.
78 // ----------------------------------------------------------------------------------
79 /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
80 * @brief This function returns a container with the name of the groups.
81 * @return std::string A list with the name of the button groups.
85 // ----------------------------------------------------------------------------------
86 /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
87 * @brief This function returns a container with the name of the groups.
88 * @return std::string A list with the name of the button groups.
92 // ----------------------------------------------------------------------------------
94 ButtonPair* m_ButtonPair; //! <ButtonPair* ButtonPail pointer.