]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
Initial support for keyframes in track effects (WIP)
[kdenlive] / src / customtrackview.h
index afa0b44912c8de691c94dcca7a81cc23347da628..11e65110a256e0a2dd4d897812af5e9493ec7d37 100644 (file)
@@ -426,6 +426,13 @@ private:
      * if the name is still the default one. */
     void updateTrackNames(int track, bool added);
 
+    /** @brief Updates the duration stored in a track's TrackInfo.
+     * @param track Number of track as used in ItemInfo (not the numbering used in KdenliveDoc) (negative for all tracks)
+     * @param command If effects need to be updated the commands to do this will be attached to this undo command
+     * 
+     * In addition to update the duration in TrackInfo it updates effects with keyframes on the track. */
+    void updateTrackDuration(int track, QUndoCommand *command);
+
 private slots:
     void slotRefreshGuides();
     void slotEnableRefresh();