]> git.mxchange.org Git - flightgear.git/commit
Allow Canvas Windows to be resized by dragging
authorThomas Geymayer <tomgey@gmail.com>
Thu, 13 Dec 2012 12:52:53 +0000 (13:52 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 13 Dec 2012 13:12:29 +0000 (14:12 +0100)
commit4bf4754f7b7a1a4670cd205778efb2394d877473
tree4dc1d314f74f64f9ac2fb74765357d5f8f58ab67
parent1c8d9ef13215a2f6f41be25adbe5df260d2eebd8
Allow Canvas Windows to be resized by dragging

 - Setting 'resize' property to true on canvas::Window shows
   resize icons and exposes requested size to the property
   tree. This can be used eg. from Nasal to actually resize
   the window and/or show a preview of the resized window
   while resizing.
 - Event handling now ignores events which have already
   been handled. Before eg. clicking inside a window
   also caused picking to be performed inside the
   scene which is for sure not the expected behaviour.
 - Also forwards scroll wheel events from canvas::Window.
src/Canvas/gui_mgr.cxx
src/Canvas/gui_mgr.hxx
src/Canvas/window.cxx
src/Canvas/window.hxx
src/Viewer/FGEventHandler.cxx