]> git.sesse.net Git - kdenlive/blobdiff - src/monitorscene.h
Fix freeze on reloading a missing clip, don't reload twice missing clips that were...
[kdenlive] / src / monitorscene.h
index aeb60dcc2fc854d75b8e9869a9eb4ff52d64ae6b..d850e5807c1a905418f4279bccfa4450996e6a8c 100644 (file)
@@ -42,6 +42,12 @@ public:
 
     /** @brief Makes the background frame fit again after the profile changed (and therefore the resolution might have changed). */
     void resetProfile();
+    
+    /** @brief Reset scene size. */
+    void cleanup();
+    
+    /** @brief Center view on frame border. */
+    void centerView();
 
 protected:
     virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
@@ -81,6 +87,8 @@ private:
     QImage m_backgroundImage;
     bool m_enabled;
     qreal m_zoom;
+    bool m_groupMove;
+    QPointF m_lastPos;
 
 signals:
     void zoomChanged(int);