]> git.mxchange.org Git - simgear.git/blobdiff - simgear/canvas/canvas_fwd.hxx
First working version of DOM like Canvas event handling
[simgear.git] / simgear / canvas / canvas_fwd.hxx
index a72baf62e4bbec4b3c29916b019514b2b1b21e86..4b0e41e10ccc2acca7011550fe0a992e817da118 100644 (file)
@@ -50,15 +50,21 @@ namespace canvas
   SG_FWD_DECL(Path)
   SG_FWD_DECL(Text)
 
+  SG_FWD_DECL(Event)
+  SG_FWD_DECL(EventListener)
+  SG_FWD_DECL(MouseEvent)
   SG_FWD_DECL(Placement)
   SG_FWD_DECL(SystemAdapter)
 
 #undef SG_FWD_DECL
 
+  class EventVisitor;
+
   typedef std::map<std::string, const SGPropertyNode*> Style;
   typedef ElementPtr (*ElementFactory)( const CanvasWeakPtr&,
                                         const SGPropertyNode_ptr&,
-                                        const Style& );
+                                        const Style&,
+                                        Element* );
 
   typedef osg::ref_ptr<osgText::Font> FontPtr;