]> git.sesse.net Git - kdenlive/blobdiff - src/abstractclipitem.h
Zoom through vertical move in timeline ruler:
[kdenlive] / src / abstractclipitem.h
index f2b3afdba2ac7349de7a919767218f821cbdcb90..79072ea5f6ada2dad26879464e40ffb3f4e757e3 100644 (file)
@@ -57,16 +57,18 @@ public:
     virtual void resizeStart(int posx, double speed = 1.0);
     virtual void resizeEnd(int posx, double speed = 1.0);
     virtual double fps() const;
+    virtual void updateFps(double fps);
     virtual GenTime maxDuration() const;
     virtual void setCropStart(GenTime pos);
 
 protected:
-    int m_track;
+    ItemInfo m_info;
+//    int m_track;
     int m_editedKeyframe;
     int m_selectedKeyframe;
-    GenTime m_cropStart;
-    GenTime m_cropDuration;
-    GenTime m_startPos;
+    /*    GenTime m_cropStart;
+        GenTime m_cropDuration;
+        GenTime m_startPos;*/
     GenTime m_maxDuration;
     QMap <int, int> m_keyframes;
     double m_keyframeFactor;
@@ -74,7 +76,7 @@ protected:
     double m_fps;
     //QRect visibleRect();
     void drawKeyFrames(QPainter *painter, QRectF exposedRect);
-    int mouseOverKeyFrames(QPointF pos);
+    int mouseOverKeyFrames(QPointF pos, double maxOffset);
     virtual void mousePressEvent(QGraphicsSceneMouseEvent * event);
 };