]> git.mxchange.org Git - flightgear.git/commit
Add window decoration support to Canvas GUI.
authorThomas Geymayer <tomgey@gmail.com>
Thu, 6 Jun 2013 20:32:09 +0000 (22:32 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 6 Jun 2013 20:37:16 +0000 (22:37 +0200)
commit326ee0c5cfc4c2b704db110746feac4fc5778575
tree4cd4787bc995d82d36a5e20a1432a137d12d81d1
parent53c3033135f0266e11a075c91a8a686ca8aca8ab
Add window decoration support to Canvas GUI.

canvas::Window now optionally creates a second canvas for showing
window decoration. After setting its dimensions with the property
"decoration-border" a Nasal based window decorator should add the
required elements to the decoration canvas.

Using the properties "shadow-radius" and "shadow-inset" a drop
shadow can be added to the window.
src/Canvas/gui_mgr.cxx
src/Canvas/window.cxx
src/Canvas/window.hxx
src/Scripting/NasalCanvas.cxx