1 /***************************************************************
3 * Purpose: Call_Back Functions
4 * Author: Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
6 * Copyright: Diego CACERES (http://www.creatis.insa-lyon.fr/~caceres/)
8 **************************************************************/
18 ///@namespace <creaButtonContainer>
19 namespace creaButtonContainer
21 typedef model::TFunctor* FunctionEventType;
22 //First is the button description, Second FunctionEventType
23 typedef std::pair< std::string, FunctionEventType > ActionButton;
24 //First is the ButtonName and Second is the ImageIconPath
25 typedef std::pair< std::string, std::string > ButtonInfo;
26 typedef std::pair< ButtonInfo*, ActionButton* > ButtonPair;
27 typedef std::list< std::string > KeyMapList;
28 typedef std::list< ButtonPair* > ButtonList;
29 typedef std::map< std::string, ButtonList > ButtonGroupMap;
32 #endif /* SYSTEM_H_ */