mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
2d9dc40171
For now always use the preferences value, so that this is a no-op. This is a preparation for storing the speed in the profile widget. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
19 lines
494 B
C++
19 lines
494 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef ANIMATIONFUNCTIONS_H
|
|
#define ANIMATIONFUNCTIONS_H
|
|
|
|
#include <QtGlobal>
|
|
#include <QPointF>
|
|
|
|
class QObject;
|
|
|
|
namespace Animations {
|
|
void hide(QObject *obj, int speed);
|
|
void show(QObject *obj, int speed);
|
|
void moveTo(QObject *obj, int speed, qreal x, qreal y);
|
|
void moveTo(QObject *obj, int speed, const QPointF &pos);
|
|
void animDelete(QObject *obj, int speed);
|
|
void scaleTo(QObject *obj, int speed, qreal scale);
|
|
}
|
|
|
|
#endif // ANIMATIONFUNCTIONS_H
|