]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackscene.h
Rewrote DVD creation, should now support correctly 4:3 and 16:9 menus, letterbox...
[kdenlive] / src / customtrackscene.h
index 961927dea2d732a333680b083def2935fd919184..ac402618d82379ab523c3da133de8ed8e6b6ea43 100644 (file)
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
  ***************************************************************************/
 
+/**
+ * @class CustomTrackScene
+ * @author Jean-Baptiste Mardelle
+ * @brief Holds all scene properties that need to be used by clip items.
+ */
 
 #ifndef CUSTOMTRACKSCENE_H
 #define CUSTOMTRACKSCENE_H
@@ -30,7 +35,7 @@
 class KdenliveDoc;
 class MltVideoProfile;
 
-/** This class holds all properties that need to be used by clip items */
+enum EDITMODE { NORMALEDIT = 0 , OVERWRITEEDIT = 1 , INSERTEDIT = 2 };
 
 class CustomTrackScene : public QGraphicsScene
 {
@@ -47,11 +52,14 @@ public:
     QPointF scale() const;
     int tracksCount() const;
     MltVideoProfile profile() const;
+    void setEditMode(EDITMODE mode);
+    EDITMODE editMode() const;
 
 private:
     KdenliveDoc *m_document;
     QList <GenTime> m_snapPoints;
     QPointF m_scale;
+    EDITMODE m_editMode;
 };
 
 #endif