]> git.mxchange.org Git - simgear.git/commit
Canvas: rework style setter system.
authorThomas Geymayer <tomgey@gmail.com>
Fri, 19 Apr 2013 22:22:37 +0000 (00:22 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Fri, 19 Apr 2013 22:22:37 +0000 (00:22 +0200)
commit1f431323635de0dd86d60a0fc58efa9557983ef8
tree9d6409d0e55cd87a2590682e074b91fe375ab94d
parent17369a20dea2c1e8f93aa3e5888cac9ce6da043a
Canvas: rework style setter system.

Style setters are now only setup once for each element type and
not for each element instance as before. A static map holds the
setters for each element type. Also an animation type is stored
which will later allow to animate properties of Canvas elements
without specifying and animation type.
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
simgear/canvas/elements/CanvasPath.hxx
simgear/canvas/elements/CanvasText.cxx