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);
|
setMovementDirection(direction);
|
||||||
setDistance(distance);
|
setDistance(distance);
|
||||||
|
Animation::setEasingCurveType(QEasingCurve::OutCirc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SlideAnimation::setMovementDirection(const qint8 &direction)
|
void SlideAnimation::setMovementDirection(const qint8 &direction)
|
||||||
|
@ -28,6 +28,7 @@ ZoomAnimation::ZoomAnimation(QObject *parent)
|
|||||||
: Animation(parent),
|
: Animation(parent),
|
||||||
m_zoom(1)
|
m_zoom(1)
|
||||||
{
|
{
|
||||||
|
Animation::setEasingCurveType(QEasingCurve::OutBounce);
|
||||||
}
|
}
|
||||||
|
|
||||||
ZoomAnimation::~ZoomAnimation()
|
ZoomAnimation::~ZoomAnimation()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user