X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fabstractclipitem.h;h=38efede3af277f09cb5b36449bf1eb210b41d1df;hb=96974b15f7e9fc9f7cf71795a26997b2bcf1146d;hp=fdc914381809617c23b94ae1f1b51eabc8858f1c;hpb=fee94f8ed072ea2864a40b8fd139bafce35a5e96;p=kdenlive diff --git a/src/abstractclipitem.h b/src/abstractclipitem.h index fdc91438..38efede3 100644 --- a/src/abstractclipitem.h +++ b/src/abstractclipitem.h @@ -48,8 +48,10 @@ public: void updateKeyFramePos(const GenTime pos, const double value); int addKeyFrame(const GenTime pos, const double value); bool hasKeyFrames() const; + int editedKeyFramePos() const; int selectedKeyFramePos() const; double selectedKeyFrameValue() const; + double editedKeyFrameValue() const; double keyFrameFactor() const; ItemInfo info() const; CustomTrackScene* projectScene(); @@ -77,7 +79,9 @@ public: protected: ItemInfo m_info; // int m_track; + /** The position of the current keyframe when it has moved */ int m_editedKeyframe; + /** The position of the current keyframe before it was moved */ int m_selectedKeyframe; /* GenTime m_cropStart; GenTime m_cropDuration;