]> git.sesse.net Git - kdenlive/blobdiff - src/renderer.h
new icons, snapping can now be en/disabled
[kdenlive] / src / renderer.h
index 8696fc6589e08e6d88b83a2aa7f4f8f44e7e086d..54510f1264084f4ceebae2b40b5e9d8685b73584 100644 (file)
@@ -145,6 +145,8 @@ Q_OBJECT public:
     const double fps() const;
     const int renderWidth() const;
     const int renderHeight() const;
+    /** get display aspect ratio */
+    const double dar() const;
 
     /** Playlist manipulation */
     void mltInsertClip(int track, GenTime position, QDomElement element);
@@ -152,8 +154,8 @@ Q_OBJECT public:
     void mltCutClip(int track, GenTime position);
     void mltResizeClipEnd(int track, GenTime pos, GenTime in, GenTime out);
     void mltResizeClipStart(int track, GenTime pos, GenTime moveEnd, GenTime moveStart, GenTime in, GenTime out);
-    void mltMoveClip(int startTrack, int endTrack, GenTime pos, GenTime moveStart);
-    void mltMoveClip(int startTrack, int endTrack, int pos, int moveStart);
+    bool mltMoveClip(int startTrack, int endTrack, GenTime pos, GenTime moveStart);
+    bool mltMoveClip(int startTrack, int endTrack, int pos, int moveStart);
     void mltRemoveClip(int track, GenTime position);
     void mltRemoveEffect(int track, GenTime position, QString index, bool doRefresh = true);
     void mltAddEffect(int track, GenTime position, QMap <QString, QString> args, bool doRefresh = true);