]> git.mxchange.org Git - simgear.git/blobdiff - simgear/canvas/events/CustomEvent.cxx
Add simple keyboard event demo application.
[simgear.git] / simgear / canvas / events / CustomEvent.cxx
index 3ca8ff18654a187aa08b84ca32052cdab290a411..a85a6efd941bc799fc3d6a8801df74dd02bdbc6f 100644 (file)
@@ -25,16 +25,20 @@ namespace canvas
 
   //----------------------------------------------------------------------------
   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>();