]> git.mxchange.org Git - flightgear.git/commit
Improve mouse event capturing with Canvas windows.
authorThomas Geymayer <tomgey@gmail.com>
Thu, 7 Feb 2013 22:08:36 +0000 (23:08 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 7 Feb 2013 22:08:53 +0000 (23:08 +0100)
commitc0173cf2b58d63a97bb3821e67e8c095b4cd91c2
tree39256b2e262195d026598cd7a728ed524391f687
parent2013f7149d239ad6dccd2fc53fb77c4a0c85e484
Improve mouse event capturing with Canvas windows.

 - Don't capture mouse events if mouse mode has
   pass-through disabled. This behaviour is
   consistent with the PUI dialogs and allows
   changing moving view and controls while above
   any GUI dialog.
 - Add option to canvas windows to ignore all
   events and let them pass through
   ("capture-events").
src/Canvas/gui_mgr.cxx
src/Canvas/gui_mgr.hxx
src/Canvas/window.cxx
src/Canvas/window.hxx