]> git.mxchange.org Git - flightgear.git/commit
Canvas: Allow using canvases as PUI widgets.
authorThomas Geymayer <tomgey@gmail.com>
Wed, 4 Jul 2012 11:15:12 +0000 (13:15 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Tue, 31 Jul 2012 21:19:22 +0000 (23:19 +0200)
commit373d511c6948ae4737b183e0ac38471544b6f499
tree590a0b5c4559409e504a0a2e2324594419610025
parent36fe51c7f0fa9ae11474f3e5b8b6c8ac119a04d0
Canvas: Allow using canvases as PUI widgets.

 - Add new widget type canvas
 - Set canvas view dimension from the gui xml.
 - Expose mouse events to canvas widget properties.
12 files changed:
src/Canvas/canvas.cxx
src/Canvas/canvas.hxx
src/Canvas/canvas_mgr.cxx
src/Canvas/canvas_mgr.hxx
src/GUI/CMakeLists.txt
src/GUI/CanvasWidget.cxx [new file with mode: 0644]
src/GUI/CanvasWidget.hxx [new file with mode: 0644]
src/GUI/FGPUIDialog.cxx
src/Instrumentation/od_gauge.hxx
src/Main/fg_init.cxx
src/Scripting/NasalSys.cxx
src/Scripting/NasalSys.hxx