Adding the missing factors in AnimationPrivate.
I guess that to make its fields accessable to other animation classes I will have to define it in plasma/private? svn path=/trunk/KDE/kdelibs/; revision=1036730
This commit is contained in:
parent
1a6384bb3f
commit
c4cf4ed175
@ -29,6 +29,24 @@ public:
|
||||
* Object the animation(s) should act upon.
|
||||
*/
|
||||
QGraphicsWidget* animObject;
|
||||
|
||||
/**
|
||||
* Animation factor: its meaning depends on the animation class
|
||||
* (e.g. opacity in FadeAnimation, scale in GrowAnimation, etc)
|
||||
*/
|
||||
qreal animFactor;
|
||||
|
||||
/**
|
||||
* Animation direction: where the animation will move.
|
||||
*/
|
||||
AnimationDirection animDirection;
|
||||
|
||||
/**
|
||||
* Animation distance: displacement factor for animations where
|
||||
* there is change in the position of animated widget.
|
||||
*/
|
||||
qreal animDistance;
|
||||
|
||||
};
|
||||
|
||||
AbstractAnimation::AbstractAnimation(): d(new AnimationPrivate)
|
||||
|
Loading…
Reference in New Issue
Block a user