]> git.mxchange.org Git - flightgear.git/commit
Allow Canvas placed on 3D objects receiving mouse events.
authorThomas Geymayer <tomgey@gmail.com>
Thu, 9 May 2013 19:34:58 +0000 (21:34 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 9 May 2013 19:38:40 +0000 (21:38 +0200)
commitd9881aecf89c339acc0a198a4d519f36da64f814
tree072f68d428ab946ce5f72c6eec42476f44c2c802
parent98bfbb9560cf8a85360aa8dacc9cfe17aef95aea
Allow Canvas placed on 3D objects receiving mouse events.

 - Add option 'capture-events' to canvas aircraft and scenery
   placements to allow events being forwarded to the respective
   canvas.
 - Clean up and restructure parts of the mouse event/picking
   handling to support forwarding events to canvasses.
src/Canvas/canvas_mgr.cxx
src/Canvas/gui_mgr.cxx
src/Cockpit/od_gauge.cxx
src/Cockpit/od_gauge.hxx
src/Input/FGMouseInput.cxx
src/Viewer/renderer.cxx