]> git.sesse.net Git - kdenlive/blobdiff - src/videoglwidget.h
Allow retrieval of metadata created by Magic Lantern for canon cams
[kdenlive] / src / videoglwidget.h
index 8e653be9a28f05ab8bd0ed4eaee1a0d31cd5134b..2d492d9e00296a1a5a9680fd35c68a9e15909c3a 100644 (file)
@@ -11,12 +11,10 @@ class VideoGLWidget : public QGLWidget
 public:
     VideoGLWidget(QWidget *parent = 0);
     ~VideoGLWidget();
-
+    void activateMonitor();
     QSize minimumSizeHint() const;
     QSize sizeHint() const;
-    void setImageAspectRatio(double ratio) {
-        m_display_ratio = ratio;
-    }
+    void setImageAspectRatio(double ratio);
     void setBackgroundColor(QColor color) {
         m_backgroundColor = color;
     }
@@ -35,6 +33,7 @@ public slots:
 protected:
     void initializeGL();
     void resizeGL(int width, int height);
+    void resizeEvent(QResizeEvent* event);
     void paintGL();
     void mouseDoubleClickEvent(QMouseEvent * event);
 };