mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
38ac6ed35f
ScaleTo animation will scale or shrinks an graphical element in an animated way. This is going primarelly to be used on the pictures on the profile, but can be used on anything else later. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
17 lines
366 B
C++
17 lines
366 B
C++
#ifndef ANIMATIONFUNCTIONS_H
|
|
#define ANIMATIONFUNCTIONS_H
|
|
|
|
#include <QtGlobal>
|
|
#include <QPointF>
|
|
|
|
class QObject;
|
|
|
|
namespace Animations {
|
|
void hide(QObject *obj);
|
|
void moveTo(QObject *obj, qreal x, qreal y);
|
|
void moveTo(QObject *obj, const QPointF &pos);
|
|
void animDelete(QObject *obj);
|
|
void scaleTo(QObject *obj, qreal scale);
|
|
}
|
|
|
|
#endif // ANIMATIONFUNCTIONS_H
|