]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
Use same codebase caring for updating keyframes, attached transitions, ... when resiz...
[kdenlive] / src / customtrackview.h
index 787a962b2d38a75c4fa95f86aa3b914e1d1fa3f4..70c90f39982bb154e8e084c01811e879bf2f620c 100644 (file)
@@ -333,6 +333,20 @@ private:
     * @param size size of the tip */
     void setTipAnimation(AbstractClipItem *clip, OPERATIONTYPE mode, const double size);
 
+    /** @brief Takes care of updating effects and attached transitions during a resize from start.
+    * @param item Item to resize
+    * @param oldInfo The item's info before resizement (set to item->info() is @param check true)
+    * @param pos New startPos
+    * @param check (optional, default = false) Whether to check for collisions */
+    void prepareResizeClipStart(AbstractClipItem *item, ItemInfo oldInfo, int pos, bool check = false);
+
+    /** @brief Takes care of updating effects and attached transitions during a resize from end.
+    * @param item Item to resize
+    * @param oldInfo The item's info before resizement (set to item->info() is @param check true)
+    * @param pos New endPos
+    * @param check (optional, default = false) Whether to check for collisions */
+    void prepareResizeClipEnd(AbstractClipItem *item, ItemInfo oldInfo, int pos, bool check = false);
+
 private slots:
     void slotRefreshGuides();
     void slotEnableRefresh();