]> git.mxchange.org Git - simgear.git/commit
Canvas: fix property inheritance.
authorThomas Geymayer <tomgey@gmail.com>
Tue, 2 Jul 2013 20:42:46 +0000 (22:42 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Tue, 2 Jul 2013 22:05:20 +0000 (00:05 +0200)
commit6962de4b1f69d0be5a7fa766f8430582d4a59e8c
tree86b047da5a5149094ed88422eed8b39a164ef20f
parent6f7c0c23d1aaec41e617a062086d7f4aeaa58824
Canvas: fix property inheritance.

 - Do not override style of children if they have own values set.
 - Retrieve style of parent if own style value has been removed.
simgear/canvas/elements/CanvasElement.cxx
simgear/canvas/elements/CanvasElement.hxx
simgear/canvas/elements/CanvasGroup.cxx
simgear/canvas/elements/CanvasGroup.hxx
simgear/canvas/elements/CanvasImage.cxx
simgear/canvas/elements/CanvasPath.cxx