]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.h
Fix clip effect stack not updated when dropping effect in a group, nicer timeline...
[kdenlive] / src / clipitem.h
index ef81fe83d4f9a8129b54a143d0b0cbf01d98eb35..47434366f6c5e337bd39b6d3c4bffec4ef362423 100644 (file)
@@ -189,6 +189,10 @@ public:
     
     /** @brief Get a free index value for effect group. */
     int nextFreeEffectGroupIndex() const;
+    /** @brief Set this clip as the main selected clip (or not). */
+    void setMainSelectedClip(bool selected);
+    /** @brief Is this clip selected as the main clip. */
+    bool isMainSelectedClip();
 
 protected:
     //virtual void mouseMoveEvent(QGraphicsSceneMouseEvent * event);
@@ -238,6 +242,8 @@ private:
     /** @brief Keyframes type can be "keyframe" or "simplekeyframe" which have to be painted differently.
      * True if keyframe type is "keyframe" */
     bool m_limitedKeyFrames;
+    /** @brief True if this is the last clip the user selected */
+    bool m_isMainSelectedClip;
 
 private slots:
     void slotGetStartThumb();