#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.
*/
* 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.
* @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_ */