]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.h
Some work on speed effect, should fix most of bug
[kdenlive] / src / clipitem.h
index 8a3d4a2c72e719ff116e54a736cfecd98c920ade..a17bf785bf2122d42fc6c28861f601e221c3c5a0 100644 (file)
@@ -46,8 +46,8 @@ public:
                        const QStyleOptionGraphicsItem *option,
                        QWidget *);
     virtual int type() const;
-    void resizeStart(int posx);
-    void resizeEnd(int posx, bool updateKeyFrames = true);
+    void resizeStart(int posx, double speed = 1.0);
+    void resizeEnd(int posx, double speed = 1.0, bool updateKeyFrames = true);
     OPERATIONTYPE operationMode(QPointF pos);
     const QString &clipProducer() const;
     int clipType() const;
@@ -96,6 +96,9 @@ public:
     void setSpeed(const double speed);
     double speed() const;
     GenTime maxDuration() const;
+    GenTime cropStart() const;
+    GenTime endPos() const;
+    GenTime cropDuration() const;
     int hasEffect(const QString &tag, const QString &id) const;
     bool checkKeyFrames();