//----------------------------------------------------------------------------
CustomEvent::CustomEvent( std::string const& type_str,
+ bool bubbles,
StringMap const& data ):
- detail(data)
+ detail(data),
+ bubbles(bubbles)
{
type = getOrRegisterType(type_str);
}
//----------------------------------------------------------------------------
CustomEvent::CustomEvent( int type_id,
+ bool bubbles,
StringMap const& data ):
- detail(data)
+ detail(data),
+ bubbles(bubbles)
{
type = type_id;
// TypeMap::map_by<id>::type const& type_map = getTypeMap().by<id>();
* @param data Optional user data stored in event
*/
CustomEvent( std::string const& type_str,
+ bool bubbles = false,
StringMap const& data = StringMap() );
/**
* @param data Optional user data stored in event
*/
CustomEvent( int type_id,
+ bool bubbles = false,
StringMap const& data = StringMap() );
/**