Experimenting with easing curves.
svn path=/trunk/KDE/kdelibs/; revision=1061361
This commit is contained in:
parent
e16960fa55
commit
485635f07b
@ -45,6 +45,7 @@ SlideAnimation::SlideAnimation(QObject *parent,
|
||||
{
|
||||
setMovementDirection(direction);
|
||||
setDistance(distance);
|
||||
Animation::setEasingCurveType(QEasingCurve::OutCirc);
|
||||
}
|
||||
|
||||
void SlideAnimation::setMovementDirection(const qint8 &direction)
|
||||
|
@ -28,6 +28,7 @@ ZoomAnimation::ZoomAnimation(QObject *parent)
|
||||
: Animation(parent),
|
||||
m_zoom(1)
|
||||
{
|
||||
Animation::setEasingCurveType(QEasingCurve::OutBounce);
|
||||
}
|
||||
|
||||
ZoomAnimation::~ZoomAnimation()
|
||||
|
Loading…
Reference in New Issue
Block a user