]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
Add subclips (dragging a zone from clip monitor to project tree)
[kdenlive] / src / docclipbase.h
index 907af5330462cfd7384e0dca01fb85b5c656bcc8..288b3d453a6697133f34be271da0471303b1b4d9 100644 (file)
@@ -185,6 +185,12 @@ Q_OBJECT public:
     bool isPlaceHolder() const;
     static QString getHash(const QString &path);
 
+    void addCutZone(int in, int out);
+    bool hasCutZone(QPoint p) const;
+    void removeCutZone(int in, int out);
+    QList <QPoint> cutZones() const;
+    void updateCutZone(int oldin, int oldout, int in, int out);
+
 private:   // Private attributes
 
     /** The number of times this clip is used in the project - the number of references to this clip
@@ -212,6 +218,8 @@ private:   // Private attributes
     /** Wheter the clip is a placeholder (clip missing but user wants to see it) */
     bool m_placeHolder;
 
+    QList <QPoint> m_cutZones;
+
     void setAudioThumbCreated(bool isDone);
     /** Holds clip infos like fps, size,... */
     QMap <QString, QString> m_properties;