]> git.sesse.net Git - kdenlive/blobdiff - src/monitorscene.h
const'ref, Remove not necessary virtual keyword. Fix includes
[kdenlive] / src / monitorscene.h
index 36477dffa59f48628f7210ea34af8a1c0c377136..a6eb27e96b366e916146d848b1126bed6b6b6009 100644 (file)
@@ -31,7 +31,7 @@ class MonitorScene : public QGraphicsScene
 {
     Q_OBJECT
 public:
-    MonitorScene(Render *renderer, QObject* parent = 0);
+    explicit MonitorScene(Render *renderer, QObject* parent = 0);
 
     /** @brief Sets m_view to this scenes view. */
     void setUp();
@@ -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);