]> git.sesse.net Git - kdenlive/blobdiff - src/abstractclipitem.h
Fix detection of overlapping transitions
[kdenlive] / src / abstractclipitem.h
index b04f5712632e00fdd689485d6a0a7fb77ee3a108..bf554e0b56dacc6e7e52b81bb50919d88e66bbb2 100644 (file)
@@ -75,6 +75,11 @@ public:
     virtual int track() const ;
     virtual GenTime cropStart() const ;
     virtual GenTime cropDuration() const ;
+    /** @brief Return the current item's height */
+    static int itemHeight();
+    /** @brief Return the current item's vertical offset
+     *         For example transitions are drawn at 1/3 of track height */
+    static int itemOffset();
 
     /** @brief Resizes the clip from the start.
     * @param posx Absolute position of new in point